diff options
author | Steve Dickson <steved@redhat.com> | 2010-08-04 10:22:13 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-08-09 09:57:02 -0400 |
commit | be5b2ed57b0e0a3da91f4ec785718302d0351199 (patch) | |
tree | 80ef52f130b83d11c6512268a20bbdac25d8f260 /utils/mount/network.c | |
parent | 6b8d7c05fe738a4c7295754b4be552c703024f58 (diff) | |
download | nfs-utils-be5b2ed57b0e0a3da91f4ec785718302d0351199.tar.gz nfs-utils-be5b2ed57b0e0a3da91f4ec785718302d0351199.tar.xz nfs-utils-be5b2ed57b0e0a3da91f4ec785718302d0351199.zip |
Removed warnings from network.c
network.c: In function 'nfs_verify_family':
network.c:1366: warning: unused parameter 'family'
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.c')
-rw-r--r-- | utils/mount/network.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/mount/network.c b/utils/mount/network.c index ffb18ab..d6b5205 100644 --- a/utils/mount/network.c +++ b/utils/mount/network.c @@ -53,6 +53,7 @@ #include "parse_opt.h" #include "network.h" #include "conffile.h" +#include "nfslib.h" #define PMAP_TIMEOUT (10) #define CONNECT_TIMEOUT (20) @@ -1363,7 +1364,7 @@ nfs_nfs_port(struct mount_options *options, unsigned long *port) sa_family_t config_default_family = AF_UNSPEC; static int -nfs_verify_family(sa_family_t family) +nfs_verify_family(sa_family_t UNUSED(family)) { return 1; } |