mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
parent
c5f0a9db22
commit
33d60d09f3
@ -180,8 +180,7 @@ void cleanarg(char *str)
|
||||
ParameterError str2num(long *val, const char *str)
|
||||
{
|
||||
if(str) {
|
||||
char *endptr;
|
||||
endptr = (void*)0;
|
||||
char *endptr = NULL;
|
||||
long num;
|
||||
errno = 0;
|
||||
num = strtol(str, &endptr, 10);
|
||||
|
Loading…
Reference in New Issue
Block a user