diff options
author | Steve Dickson <steved@redhat.com> | 2017-07-19 16:35:00 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-07-26 11:30:04 -0400 |
commit | 2aa29fa3aa93507228192eb1954c6638463aac69 (patch) | |
tree | 074e11446e48aa747605f0bca7d8ed04251d47b7 | |
parent | b3b59568db7c96a3ed4a683f40e34542d63071cb (diff) | |
download | nfs-utils-2aa29fa3aa93507228192eb1954c6638463aac69.tar.gz nfs-utils-2aa29fa3aa93507228192eb1954c6638463aac69.tar.xz nfs-utils-2aa29fa3aa93507228192eb1954c6638463aac69.zip |
network.c: removed some warnings
network.c:1234:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
network.c:1382:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
network.c:1477:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
network.c:1508:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
network.c:1574:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/mount/network.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c index 281e935..b992b01 100644 --- a/utils/mount/network.c +++ b/utils/mount/network.c @@ -1235,6 +1235,7 @@ nfs_nfs_program(struct mount_options *options, unsigned long *program) *program = tmp; return 1; } + /* FALLTHRU */ case PO_BAD_VALUE: nfs_error(_("%s: invalid value for 'nfsprog=' option"), progname); @@ -1383,6 +1384,7 @@ nfs_nfs_port(struct mount_options *options, unsigned long *port) *port = tmp; return 1; } + /* FALLTHRU */ case PO_BAD_VALUE: nfs_error(_("%s: invalid value for 'port=' option"), progname); @@ -1478,6 +1480,7 @@ nfs_mount_program(struct mount_options *options, unsigned long *program) *program = tmp; return 1; } + /* FALLTHRU */ case PO_BAD_VALUE: nfs_error(_("%s: invalid value for 'mountprog=' option"), progname); @@ -1509,6 +1512,7 @@ nfs_mount_version(struct mount_options *options, unsigned long *version) *version = tmp; return 1; } + /* FALLTHRU */ case PO_BAD_VALUE: nfs_error(_("%s: invalid value for 'mountvers=' option"), progname); @@ -1575,6 +1579,7 @@ nfs_mount_port(struct mount_options *options, unsigned long *port) *port = tmp; return 1; } + /* FALLTHRU */ case PO_BAD_VALUE: nfs_error(_("%s: invalid value for 'mountport=' option"), progname); |