VirtualBox

Ignore:
Timestamp:
Aug 6, 2016 3:54:53 PM (8 years ago)
Author:
vboxsync
Message:

GA/NT/VBoxTray: the 'static' px and py are probably left behind debug/confusion, they can seriously not serve any purpose other than testing MSC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp

    r63101 r63102  
    12151215#endif
    12161216
    1217         /** @todo What the family are these statics doing there?!?  */
    1218         static LONG px = p.x;
     1217        LONG px = p.x;
    12191218        if (px <= 0)
    12201219            px = 1;
    1221         static LONG py = p.y;
     1220        LONG py = p.y;
    12221221        if (py <= 0)
    12231222            py = 1;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette