aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1993-03-02 08:25:47 +0000
committerJim Blandy <[email protected]>1993-03-02 08:25:47 +0000
commitca5b61ea67e65ccc97d20303b543b393638704d5 (patch)
tree72a719e42ac0368b84f8de32cbaf6cf7e39ddb5b /lib-src
parenta3c87d4e63e999a3ed18efe60d6b36da3a48a314 (diff)
* timer.c (notify): Initialize waitfor properly.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/timer.c b/lib-src/timer.c
index d49925fb13..51642813fe 100644
--- a/lib-src/timer.c
+++ b/lib-src/timer.c
@@ -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);