When VC++2010 builds code in Release configuration with default options, compiler skips initialization of unused variables, but this sometimes lead to skipping calls of functions that have side effects. This behavoiur is inobvious and can lead to security holes.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Operating System Language