diff options
author | J. Peter Mugaas <jpmugaas@suddenlink.net> | 2017-10-21 13:49:31 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-10-21 13:49:31 +0200 |
commit | d2c329a9a4b630de1f32d359fcc983a6cc285649 (patch) | |
tree | b170634cd9f59f7395cec6a3beec1ad7fe20402e /catalog.c | |
parent | bec3c17fae1610c6e39f982a35b391d9f1c84943 (diff) | |
download | libxml2-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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: |