diff options
author | Dan McGee <dan@archlinux.org> | 2007-08-16 16:19:06 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-16 16:19:06 -0400 |
commit | fc65a9bcb1722ae9768518aa921c5f02cf282b96 (patch) | |
tree | c416161dc701dc803cbb02db6d693bd88464284e /src/pacman/callback.c | |
parent | 16c91bedf844f5f7764aa78b801ca023810611c3 (diff) |
Fix some errors spit out by -Wextra
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/callback.c')
-rw-r--r-- | src/pacman/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index ef67ab75..fac16c5e 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -60,7 +60,7 @@ static int prevpercent=0; /* for less progressbar output */ static float get_update_timediff(int first_call) { float retval = 0.0; - static struct timeval last_time = {0}; + static struct timeval last_time = {0, 0}; /* on first call, simply set the last time and return */ if(first_call) { |