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/xmlwriter.c b/xmlwriter.c index 69541b8..eb94e6e 100644 --- a/xmlwriter.c +++ b/xmlwriter.c
@@ -3754,6 +3754,7 @@ if (count < 0) return -1; sum += count; + /* Falls through. */ case XML_TEXTWRITER_DTD_ENTY: case XML_TEXTWRITER_DTD_PENT: count = xmlOutputBufferWriteString(writer->out, ">");