projects
/
nfs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98ae9d
)
Removed a warning from exportfs.c
author
Steve Dickson
<steved@redhat.com>
Wed, 6 Apr 2011 14:39:10 +0000
(10:39 -0400)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/utils/exportfs/exportfs.c
b/utils/exportfs/exportfs.c
index 26d0504ee9e57afb4f8ecfdbd78ddfbfcfd29f61..b107c7c9e0d856c1f3678cf4faa70879ce79929f 100644
(file)
--- 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;