summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 15:15:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 15:15:33 -0700
commitc4df95c5075a728c0d089bed208042fdfa7a7765 (patch)
tree467942fb78281775fd15bb66820dfaf8d1277bde
parent9067c5b2aac51cdd1e45d5652a2a43db6c440cac (diff)
Change fall through comment in xmodmap.c to match gcc's requirements
Needs to match one of the regexps shown under https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough Silences warning from gcc 7.3.0: xmodmap.c: In function ‘main’: xmodmap.c:358:10: warning: this statement may fall through [-Wimplicit-fallthrough=] arg[1] = tolower (arg[1]); ~~~~~~~^~~~~~~~~~~~~~~~~~ xmodmap.c:360:8: note: here case 's': ^~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xmodmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmodmap.c b/xmodmap.c
index 22677dc..ef8b1f3 100644
--- a/xmodmap.c
+++ b/xmodmap.c
@@ -356,7 +356,7 @@ main(int argc, char *argv[])
case 'L':
case 'C':
arg[1] = tolower (arg[1]);
- /* fall through to handler below */
+ /* fall through - to handler below */
case 's':
case 'l':
case 'c': {