aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-06-10 21:26:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-06-10 21:26:11 +0000
commit352177090f710fd155d22a79d11f621482c09640 (patch)
tree1c9fea76d87460c04bd7946db2f84534bb8c1f11 /src/main.c
parent9d18c0b15658adcdb6743107be0db4745d2b8073 (diff)
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
contributed a range of patches to fix them.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 0 insertions, 2 deletions
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] = '#';
}