summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorJ. Peter Mugaas <jpmugaas@suddenlink.net>2017-10-21 13:49:31 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2017-10-21 13:49:31 +0200
commitd2c329a9a4b630de1f32d359fcc983a6cc285649 (patch)
treeb170634cd9f59f7395cec6a3beec1ad7fe20402e /catalog.c
parentbec3c17fae1610c6e39f982a35b391d9f1c84943 (diff)
downloadlibxml2-d2c329a9a4b630de1f32d359fcc983a6cc285649.tar.gz
Fix -Wimplicit-fallthrough warnings
Add "falls through" comments to quench implicit-fallthrough warnings which are enabled by -Wextra under GCC 7.
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog.c b/catalog.c
index 6dfdfbb8..f6186a1c 100644
--- a/catalog.c
+++ b/catalog.c
@@ -2396,6 +2396,7 @@ xmlParseSGMLCatalog(xmlCatalogPtr catal, const xmlChar *value,
case SGML_CATA_ENTITY:
if (*cur == '%')
type = SGML_CATA_PENTITY;
+ /* Falls through. */
case SGML_CATA_PENTITY:
case SGML_CATA_DOCTYPE:
case SGML_CATA_LINKTYPE: