From 352177090f710fd155d22a79d11f621482c09640 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 10 Jun 2009 21:26:11 +0000 Subject: - Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and contributed a range of patches to fix them. --- src/main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 46cdb4eb2..663b7e32b 100644 --- a/src/main.c +++ b/src/main.c @@ -2702,7 +2702,6 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ break; case 'Q': /* QUOTE command to send to FTP server */ - err = PARAM_OK; switch(nextarg[0]) { case '-': /* prefixed with a dash makes it a POST TRANSFER one */ @@ -3382,7 +3381,6 @@ static int myprogress (void *clientp, percent = frac * 100.0f; barwidth = bar->width - 7; num = (int) (((double)barwidth) * frac); - i = 0; for ( i = 0; i < num; i++ ) { line[i] = '#'; } -- cgit v1.2.3