Fix compilation errors/warning with gcc-5.4.0 (#137)
Warning are like this: error: ‘delimiter’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
This commit is contained in:
@ -37,7 +37,7 @@ int tokenize_arguments(char* argstr, char** argv)
|
||||
bool escaped = false;
|
||||
char *ptr, *start;
|
||||
char args[strlen(argstr) + 1];
|
||||
char qc;
|
||||
char qc = 0;
|
||||
|
||||
strcpy(args, argstr);
|
||||
start = args;
|
||||
|
Reference in New Issue
Block a user