Menu

#257 warning C4189:

v1.0 (example)
closed-fixed
None
5
2021-09-24
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

    Anonymous - 2012-12-18

    This warning occurs only if use AeroCtrl implementation class

     
  • Nenad Stefanovic

    • assigned_to: Nenad Stefanovic
    • Group: --> v1.0 (example)
     
  • Nenad Stefanovic

    • status: open --> closed-fixed
     
  • Nenad Stefanovic

    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

    Anonymous - 2021-09-24

    BIH

     
  • Anonymous

    Anonymous - 2021-09-24
     

Anonymous
Anonymous

Add attachments
Cancel