commit | d2c329a9a4b630de1f32d359fcc983a6cc285649 | [log] [tgz] |
---|---|---|
author | J. Peter Mugaas <jpmugaas@suddenlink.net> | Sat Oct 21 13:49:31 2017 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Sat Oct 21 13:49:31 2017 +0200 |
tree | b170634cd9f59f7395cec6a3beec1ad7fe20402e | |
parent | bec3c17fae1610c6e39f982a35b391d9f1c84943 [diff] [blame] |
Fix -Wimplicit-fallthrough warnings Add "falls through" comments to quench implicit-fallthrough warnings which are enabled by -Wextra under GCC 7.
diff --git a/catalog.c b/catalog.c index 6dfdfbb..f6186a1 100644 --- a/catalog.c +++ b/catalog.c
@@ -2396,6 +2396,7 @@ case SGML_CATA_ENTITY: if (*cur == '%') type = SGML_CATA_PENTITY; + /* Falls through. */ case SGML_CATA_PENTITY: case SGML_CATA_DOCTYPE: case SGML_CATA_LINKTYPE: