From: Steve Dickson Date: Wed, 6 Apr 2011 14:36:30 +0000 (-0400) Subject: Removed a warning from conffile.c X-Git-Tag: nfs-utils-1-2-4-rc7~8 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=b98ae9df8c4904289c9390288325058b24caa423 Removed a warning from conffile.c conffile.c:258:19: warning: 'j' may be used uninitialized in this function Signed-off-by: Steve Dickson --- diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c index 798e5f3..fa0dc6b 100644 --- a/support/nfs/conffile.c +++ b/support/nfs/conffile.c @@ -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)