Removed a warning from exportfs.c
authorSteve Dickson <steved@redhat.com>
Wed, 6 Apr 2011 14:39:10 +0000 (10:39 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 6 Apr 2011 14:39:10 +0000 (10:39 -0400)
exportfs.c:280:29: warning: 'exp' may be used uninitialized in this function

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/exportfs/exportfs.c

index 26d0504..b107c7c 100644 (file)
@@ -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;