From e7661d198f6f4c1873b6fecf5981725f804156a9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 4 Apr 2012 17:22:46 +0200 Subject: lib599.c: fix compiler warning --- tests/libtest/lib599.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests') diff --git a/tests/libtest/lib599.c b/tests/libtest/lib599.c index 354e88704..6b092677a 100644 --- a/tests/libtest/lib599.c +++ b/tests/libtest/lib599.c @@ -23,8 +23,6 @@ #include "memdebug.h" -static double dl; - static int progress_callback(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow) { @@ -32,8 +30,6 @@ static int progress_callback(void *clientp, double dltotal, (void)ulnow; (void)ultotal; - dl = dltotal; - if((dltotal > 0.0) && (dlnow > dltotal)) { /* this should not happen with test case 599 */ printf("%.0f > %.0f !!\n", dltotal, dlnow); -- cgit v1.2.3