summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorChocobo1 <Chocobo1@users.noreply.github.com>2017-06-19 05:09:36 (GMT)
committerChocobo1 <Chocobo1@users.noreply.github.com>2017-06-19 05:57:35 (GMT)
commita4ec7fa7b7863e870d3b2ea8d2173083ae95ee95 (patch)
tree51336b15f47aae7c4d692df7fa088a734bb32d55 /programs
parent89b9f026c913c0d3e9995f52b49b37f1de1af150 (diff)
downloadlz4-a4ec7fa7b7863e870d3b2ea8d2173083ae95ee95.zip
lz4-a4ec7fa7b7863e870d3b2ea8d2173083ae95ee95.tar.gz
lz4-a4ec7fa7b7863e870d3b2ea8d2173083ae95ee95.tar.bz2
Fix gcc7 Wimplicit-fallthrough warnings
For the default Wimplicit-fallthrough=3 level, the comment should start with "fall*"
Diffstat (limited to 'programs')
-rw-r--r--programs/lz4cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index f3583ef..55f3133 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -469,8 +469,9 @@ int main(int argc, const char** argv)
#ifdef UTIL_HAS_CREATEFILELIST
/* recursive */
- case 'r': recursive=1; /* without break */
+ case 'r': recursive=1;
#endif
+ /* fall-through */
/* Treat non-option args as input files. See https://code.google.com/p/lz4/issues/detail?id=151 */
case 'm': multiple_inputs=1;
break;