Initialize some uninitialized variables to fix a bug that sometimes

resulted in msgs doing strange things, including getting stuck in an
infinite loop.
This commit is contained in:
David Greenman 1995-12-06 07:34:49 +00:00
parent 4cb03b1b55
commit 0ee0bd8331
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12646

View File

@ -153,7 +153,7 @@ int argc; char *argv[];
bool newrc, already;
int rcfirst = 0; /* first message to print (from .rc) */
int rcback = 0; /* amount to back off of rcfirst */
int firstmsg, nextmsg, lastmsg = 0;
int firstmsg = 0, nextmsg = 0, lastmsg = 0;
int blast = 0;
FILE *bounds;