Initialized local wasdlm to prevent uninitialized use.
authorDavid Levine <levinedl@acm.org>
Wed, 7 Mar 2012 00:48:21 +0000 (18:48 -0600)
committerDavid Levine <levinedl@acm.org>
Wed, 7 Mar 2012 00:48:21 +0000 (18:48 -0600)
uip/burst.c

index 1f626f3..980972e 100644 (file)
@@ -208,7 +208,7 @@ main (int argc, char **argv)
 static int
 find_delim (int msgnum, struct smsg *smsgs)
 {
-    int wasdlm, msgp;
+    int wasdlm = 0, msgp;
     off_t pos;
     char c, *msgnam;
     char buffer[BUFSIZ];