#257 warning C4189:

v1.0 (example)
closed-fixed
None
5
2014-02-18
2012-12-18
Anonymous
No

VC++ 2010: Warning message: AtlDWM.h(442): warning C4189: 'pT' : local variable is initialized but not referenced.

May be pT variable can be removed ?

Discussion


  • Anonymous
    2012-12-18

    This warning occurs only if use AeroCtrl implementation class

     
  • Fixed by adding pT in an empty line. atlwdm.h, commit #480

    This could also have been fixed by using T::GetThemeName() instead of pT->GetThemeName(), but pT gives more flexibility, if needed.

     


Anonymous


Cancel   Add attachments