aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-04 17:22:46 +0200
committerYang Tse <yangsita@gmail.com>2012-04-04 17:24:29 +0200
commite7661d198f6f4c1873b6fecf5981725f804156a9 (patch)
treeaf3258adc84074c4c40e953001bb979f4b8c53d0 /tests
parent13c7b911331579d1e5196742bfa6650bb038e7a0 (diff)
lib599.c: fix compiler warning
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib599.c4
1 files changed, 0 insertions, 4 deletions
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);