[hooks] Initialize lastrun to 0

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-01 19:00:31 +02:00
parent d19639d555
commit ff23b67c65
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ main(int argc, char **argv)
xcb_generic_event_t *ev;
struct sockaddr_un *addr;
client_t *c;
struct timeval select_timeout, hook_lastrun, now, hook_nextrun;
struct timeval select_timeout, hook_lastrun = { 0, 0 }, now, hook_nextrun;
static struct option long_options[] =
{
{"help", 0, NULL, 'h'},