]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Removed a warning from conffile.c
authorSteve Dickson <steved@redhat.com>
Wed, 6 Apr 2011 14:36:30 +0000 (10:36 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 6 Apr 2011 14:36:30 +0000 (10:36 -0400)
conffile.c:258:19: warning: 'j' may be used uninitialized in this function

Signed-off-by: Steve Dickson <steved@redhat.com>
support/nfs/conffile.c

index 798e5f374503242250d2b488f924049ea7444c44..fa0dc6b792da8bb5fc8a6e4f8d461e6556002d39 100644 (file)
@@ -251,6 +251,7 @@ conf_parse_line(int trans, char *line, size_t sz)
                }
                /* Strip off any blanks before ']' */
                val = line;
+               j=0;
                while (*val && !isblank(*val)) 
                        val++, j++;
                if (*val)