1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

lib599.c: fix compiler warning

This commit is contained in:
Yang Tse 2012-04-04 17:22:46 +02:00
parent 13c7b91133
commit e7661d198f

View File

@ -23,8 +23,6 @@
#include "memdebug.h" #include "memdebug.h"
static double dl;
static int progress_callback(void *clientp, double dltotal, static int progress_callback(void *clientp, double dltotal,
double dlnow, double ultotal, double ulnow) double dlnow, double ultotal, double ulnow)
{ {
@ -32,8 +30,6 @@ static int progress_callback(void *clientp, double dltotal,
(void)ulnow; (void)ulnow;
(void)ultotal; (void)ultotal;
dl = dltotal;
if((dltotal > 0.0) && (dlnow > dltotal)) { if((dltotal > 0.0) && (dlnow > dltotal)) {
/* this should not happen with test case 599 */ /* this should not happen with test case 599 */
printf("%.0f > %.0f !!\n", dltotal, dlnow); printf("%.0f > %.0f !!\n", dltotal, dlnow);