From: Yang Tse Date: Wed, 4 Apr 2012 15:22:46 +0000 (+0200) Subject: lib599.c: fix compiler warning X-Git-Tag: curl-7_26_0~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7661d198f6f4c1873b6fecf5981725f804156a9;p=curl lib599.c: fix compiler warning --- 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);