mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
lib599.c: fix compiler warning
This commit is contained in:
parent
13c7b91133
commit
e7661d198f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user