Commit 7fa75fa9 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix compiler warning: value computed is not used.

parent 3d5d71da
......@@ -748,7 +748,6 @@ processDefArgument(void *vargument)
{
process_t &process = processSelf();
char *operatorArg;
char *commapos;
std::vector<char*> &oargv = process.oargv;
int argc = ((argument_t *) vargument)->argc;
std::vector<char *> &argv = ((argument_t *) vargument)->argv;
......@@ -763,11 +762,11 @@ processDefArgument(void *vargument)
oargv.push_back(operatorArg);
// fprintf(stderr, "processDefArgument: %d %s\n", oargc, operatorArg);
commapos = operatorArg;
char *commapos = operatorArg;
while ((commapos = strchr(commapos, ',')) != NULL)
{
*commapos = '\0';
*commapos++;
commapos++;
if (strlen(commapos))
{
oargv.push_back(commapos);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment