‘operator’ : operator has no effect; did you forget something?
If an expression statement has an operator with no side effect as the top of the expression, it's probably a mistake.
Example
int i, j; i + j;
You can suppress this warning by placing parentheses around the i + j
:
(i + j)