mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
prevent compiler warning
This commit is contained in:
parent
d4714517c0
commit
0f125d9bcf
@ -1499,7 +1499,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||||||
curl_off_t value = curlx_strtoofft(nextarg, &unit, 0);
|
curl_off_t value = curlx_strtoofft(nextarg, &unit, 0);
|
||||||
|
|
||||||
if(strlen(unit) != 1)
|
if(strlen(unit) != 1)
|
||||||
unit="w"; /* unsupported */
|
unit=(char *)"w"; /* unsupported */
|
||||||
|
|
||||||
switch(*unit) {
|
switch(*unit) {
|
||||||
case 'G':
|
case 'G':
|
||||||
|
Loading…
Reference in New Issue
Block a user