From: Steve Dickson Date: Wed, 6 Apr 2011 14:39:10 +0000 (-0400) Subject: Removed a warning from exportfs.c X-Git-Tag: nfs-utils-1-2-4-rc7~7 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=c2fa189a0467c25666f014cf9ff2576a9f54d682;ds=sidebyside Removed a warning from exportfs.c exportfs.c:280:29: warning: 'exp' may be used uninitialized in this function Signed-off-by: Steve Dickson --- diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index 26d0504..b107c7c 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -250,7 +250,7 @@ static void exportfs(char *arg, char *options, int verbose) { struct exportent *eep; - nfs_export *exp; + nfs_export *exp = NULL; struct addrinfo *ai = NULL; char *path; char *hname = arg;