* timer.c (notify): Initialize waitfor properly.
This commit is contained in:
parent
a3c87d4e63
commit
ca5b61ea67
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ schedule (str)
|
|||
void
|
||||
notify ()
|
||||
{
|
||||
time_t now, tdiff, waitfor;
|
||||
time_t now, tdiff, waitfor = -1;
|
||||
register struct event *ep;
|
||||
|
||||
now = time ((time_t *) NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue