VirtualBox

Ignore:
Timestamp:
Nov 26, 2009 3:29:36 PM (15 years ago)
Author:
vboxsync
Message:

VBoxHeadless: -Wshadow warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r24981 r25016  
    780780            }
    781781#endif /* defined(VBOX_FFMPEG) */
    782             VRDPFramebuffer *pFramebuffer = new VRDPFramebuffer ();
    783             if (!pFramebuffer)
     782            VRDPFramebuffer *pVRDPFramebuffer = new VRDPFramebuffer ();
     783            if (!pVRDPFramebuffer)
    784784            {
    785785                RTPrintf("Error: could not create framebuffer object %d\n", uScreenId);
    786786                return -1;
    787787            }
    788             pFramebuffer->AddRef();
    789             display->SetFramebuffer(uScreenId, pFramebuffer);
     788            pVRDPFramebuffer->AddRef();
     789            display->SetFramebuffer(uScreenId, pVRDPFramebuffer);
    790790        }
    791791#endif
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