VirtualBox

Changeset 103355 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 14, 2024 2:13:23 PM (11 months ago)
Author:
vboxsync
Message:

Main/VBoxCAPI.cpp: Try initialize pManager to NULL to see if that shuts up parfait warnings about using it uninitialized. bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/VBoxCAPI.cpp

    r98694 r103355  
    423423
    424424#ifdef VBOX_WITH_XPCOM
    425     nsIComponentManager *pManager;
     425    nsIComponentManager *pManager = NULL;
    426426    hrc = NS_GetComponentManager(&pManager);
    427427    if (FAILED(hrc))
     
    695695
    696696#ifdef VBOX_WITH_XPCOM
    697     nsIComponentManager *pManager;
     697    nsIComponentManager *pManager = NULL;
    698698    hrc = NS_GetComponentManager(&pManager);
    699699    if (FAILED(hrc))
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