VirtualBox

Changeset 107532 in vbox


Ignore:
Timestamp:
Jan 8, 2025 3:45:00 PM (10 days ago)
Author:
vboxsync
Message:

src/VBox/Main/src-server/USBProxyService: Fixed warnings found by Parfait (uninitialized attributes). Docs. jiraref:VBP-1424

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/USBProxyService.h

    r106061 r107532  
    141141    /** List of active USB backends. */
    142142    USBProxyBackendList mBackends;
     143    /** Last error (IPRT style). Set to VINF_SUCCESS if no last error yet. */
    143144    int                 mLastError;
    144145};
  • trunk/src/VBox/Main/src-server/USBProxyService.cpp

    r106061 r107532  
    6565 */
    6666USBProxyService::USBProxyService(Host *aHost)
    67     : mHost(aHost), mDevices(), mBackends()
     67    : mHost(aHost), mDevices(), mBackends(), mLastError(VINF_SUCCESS)
    6868{
    6969    LogFlowThisFunc(("aHost=%p\n", aHost));
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