mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
contributed a range of patches to fix them.
This commit is contained in:
parent
9d18c0b156
commit
352177090f
10 changed files with 12 additions and 16 deletions
|
|
@ -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] = '#';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue