diff options
author | Thomas Haller <thaller@redhat.com> | 2017-06-15 16:09:49 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-06-15 16:52:53 (GMT) |
commit | cda0d805aa62eed5264099d42455114277fd12cf (patch) | |
tree | 713ea58baa699d1e2382f2b9123d996e8ed99cf9 /src | |
parent | a0ed1e2c38bb0728f5a84ca0f9591d580a4e4183 (diff) | |
download | libnl-cda0d805aa62eed5264099d42455114277fd12cf.zip libnl-cda0d805aa62eed5264099d42455114277fd12cf.tar.gz libnl-cda0d805aa62eed5264099d42455114277fd12cf.tar.bz2 |
all: avoid compiler warnings -Wimplicit-fallthrough
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/utils.c b/src/lib/utils.c index 6e288b6..1886159 100644 --- a/src/lib/utils.c +++ b/src/lib/utils.c @@ -179,6 +179,7 @@ int nl_cli_confirm(struct nl_object *obj, struct nl_dump_params *params, switch ((answer = tolower(buf[0]))) { case '\n': answer = default_yes ? 'y' : 'n'; + /* fall through */ case 'y': case 'n': return answer == 'y'; |