A developer was copying and pasting similar types of code and made a mistake where instead of
int x = 100;
int y = 100;
int z = 100;
aFunction(x, y, z);
They accidentally typed
int x = 100;
int y = 100;
int z = 100;
(x, y, z); //What does this Line of Code do?
This code successfully compiled and gave no warnings. When trying to debug this code in VS 2015 the debugger will just skip over this line of code.
Why does this line of code compile and give no warning and what is this line of coding doing?
Update: Building in Visual Studio 2015 with all warnings shows this warning but level 4 does not. Strangely, neither Code Analysis nor Clang Power Tools shows this warning.
Thanks.