From c2fa189a0467c25666f014cf9ff2576a9f54d682 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Wed, 6 Apr 2011 10:39:10 -0400 Subject: [PATCH] Removed a warning from exportfs.c exportfs.c:280:29: warning: 'exp' may be used uninitialized in this function Signed-off-by: Steve Dickson --- utils/exportfs/exportfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2