I had a function that returned wrong values and after taking a good look at it I found the following statement:
Code: Select all
score >> 8;Code: Select all
score = score >> 8;So my question is why there were no warnings from the compiler, something like "missing assignment", "inconsequent statement" or something?
I use Visual Studio 2013 with the intel studio xe 2015 c++ compiler.
best regards,
Alvaro