Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
7fa75fa9
Commit
7fa75fa9
authored
Oct 13, 2017
by
Uwe Schulzweida
Browse files
Fix compiler warning: value computed is not used.
parent
3d5d71da
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/process.cc
View file @
7fa75fa9
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment