VirtualBox

Changeset 103356 in vbox


Ignore:
Timestamp:
Feb 14, 2024 2:19:45 PM (10 months ago)
Author:
vboxsync
Message:

Main/tstVBoxAPIXPCOM: Parfait warning about potentially uninitialized 'rc' variable in printErrorInfo. bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstVBoxAPIXPCOM.cpp

    r101381 r103356  
    614614char *nsIDToString(nsID *guid)
    615615{
    616     char *res = (char*)malloc(39);
    617 
     616    char *res = (char *)malloc(39);
    618617    if (res != NULL)
    619618    {
     
    634633void printErrorInfo()
    635634{
    636     nsresult rc;
    637 
     635    nsresult rc = NS_ERROR_UNEXPECTED;
    638636    nsCOMPtr<nsIExceptionService> es;
    639637    es = do_GetService(NS_EXCEPTIONSERVICE_CONTRACTID, &rc);
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