VirtualBox

Changeset 106979 in vbox


Ignore:
Timestamp:
Nov 13, 2024 9:17:58 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165910
Message:

Small fix the error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/ObjectsTracker.cpp

    r106904 r106979  
    339339        com::Utf8Str lat = pIter->second.updateLastAccessTime(); /* Update the access time */
    340340        Log2(("The updated last access time is %s\n", lat.c_str()));
    341         vrc = VINF_SUCCESS;
    342     }
    343 
    344     if (RT_SUCCESS(vrc)) /** @todo r=bird: This won't ever fail. Did you mixup vrc and hrc above? */
     341        hrc = S_OK;
     342    }
     343
     344    if (SUCCEEDED(hrc))
    345345    {
    346346        /** @todo r=bird: Why do three lookups? */
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