summaryrefslogtreecommitdiffstats
path: root/support/export/client.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-10-13 12:08:41 -0400
committerSteve Dickson <steved@redhat.com>2010-10-14 10:26:59 -0400
commit73c61fa5cd114fa6eae0e095724ed63aa66a4a6b (patch)
tree2903369a7e4629e6bac8e9df4d1070c3a62f4e35 /support/export/client.c
parent7e90281b88c05b01c61152b54a0cf2faec45b09c (diff)
downloadnfs-utils-73c61fa5cd114fa6eae0e095724ed63aa66a4a6b.tar.gz
nfs-utils-73c61fa5cd114fa6eae0e095724ed63aa66a4a6b.tar.xz
nfs-utils-73c61fa5cd114fa6eae0e095724ed63aa66a4a6b.zip
gcc complained:
client.c: In function 'init_netmask6': client.c:181:1: warning: no return statement in function returning non-void and Suse' build system complained I: Program returns random data in a function E: nfs-utils no-return-in-nonvoid-function client.c:181 when I built without --enable-ipv6 Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/client.c')
-rw-r--r--support/export/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/export/client.c b/support/export/client.c
index dbfc2b1..ba2db8f 100644
--- a/support/export/client.c
+++ b/support/export/client.c
@@ -178,6 +178,7 @@ out_badprefix:
static int
init_netmask6(nfs_client *UNUSED(clp), const char *UNUSED(slash))
{
+ return 0;
}
#endif /* IPV6_SUPPORTED */