diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-05-05 15:15:33 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-05-05 15:15:33 -0700 |
commit | c4df95c5075a728c0d089bed208042fdfa7a7765 (patch) | |
tree | 467942fb78281775fd15bb66820dfaf8d1277bde /xmodmap.c | |
parent | 9067c5b2aac51cdd1e45d5652a2a43db6c440cac (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>
Diffstat (limited to 'xmodmap.c')
-rw-r--r-- | xmodmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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': { |