We like the warning that a local variable with a non trival destructor is never used. However there are a couple of cases were this check create false reports:
For example CWaitCursor, lock classes, etc.
Is there are way to disable this warning for certain types? Preferable somewhere in the shared team settings?
Using the comment CppLocalVariableWithNonTrivialDtorIsNeverUsed to disable the warning works, but we don't like to sprinkle our code with these kind of comments.