diff options
author | Steve Dickson <steved@redhat.com> | 2011-04-06 10:39:10 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-04-06 10:39:10 -0400 |
commit | c2fa189a0467c25666f014cf9ff2576a9f54d682 (patch) | |
tree | 76e75fde01f2c9292182cc75c6f68804aba5fc00 /utils | |
parent | b98ae9df8c4904289c9390288325058b24caa423 (diff) | |
download | nfs-utils-c2fa189a0467c25666f014cf9ff2576a9f54d682.tar.gz nfs-utils-c2fa189a0467c25666f014cf9ff2576a9f54d682.tar.xz nfs-utils-c2fa189a0467c25666f014cf9ff2576a9f54d682.zip |
Removed a warning from exportfs.c
exportfs.c:280:29: warning: 'exp' may be used uninitialized in this function
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/exportfs/exportfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |