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:
parent
4cb03b1b55
commit
0ee0bd8331
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user