VirtualBox

Changeset 52476 in vbox for trunk/src


Ignore:
Timestamp:
Aug 22, 2014 2:41:54 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95691
Message:

VBoxDisp: Parfait warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispDriver.cpp

    r46896 r52476  
    185185static int VBoxDispInitDevice(PVBOXDISPDEV pDev, DEVMODEW *pdm, GDIINFO *pGdiInfo, DEVINFO *pDevInfo)
    186186{
    187     VIDEO_MODE_INFORMATION *pModesTable, selectedMode;
     187    VIDEO_MODE_INFORMATION *pModesTable = NULL, selectedMode;
    188188    ULONG cModes, i=0;
    189189    int rc;
    190190
    191191    LOGF_ENTER();
     192
     193    memset(&selectedMode, 0, sizeof(VIDEO_MODE_INFORMATION));
    192194
    193195    /* Get a list of supported modes by both miniport and display driver */
Note: See TracChangeset for help on using the changeset viewer.

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