From 4b34993c830019b0f89a5b07004a7c8fb8cf90d5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 8 Jul 2004 16:30:59 +0000 Subject: Eliminate 'struct timezone tz' as it isn't used. reviewed by: Keith Packard --- ChangeLog | 7 +++++++ xcompmgr.c | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60db190..c17f94a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-07-08 Ely Levy + + reviewed by: Keith Packard + + * xcompmgr.c: (get_time_in_milliseconds): + Eliminate 'struct timezone tz' as it isn't used. + 2004-07-08 Keith Packard * xcompmgr.c: (get_time_in_milliseconds), (find_fade), diff --git a/xcompmgr.c b/xcompmgr.c index 8bb23d1..4064852 100644 --- a/xcompmgr.c +++ b/xcompmgr.c @@ -164,9 +164,8 @@ int get_time_in_milliseconds () { struct timeval tv; - struct timezone tz; - gettimeofday (&tv, &tz); + gettimeofday (&tv, NULL); return tv.tv_sec * 1000 + tv.tv_usec / 1000; } -- cgit v1.2.3