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 798e5f3..fa0dc6b 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)