1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

tool_paramhlp: fixup C89 mistake

Follow-up to c5f0a9db22.
This commit is contained in:
Daniel Stenberg 2020-05-19 08:58:09 +02:00
parent c5f0a9db22
commit 33d60d09f3
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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);