VirtualBox

Changeset 81492 in vbox


Ignore:
Timestamp:
Oct 23, 2019 2:07:03 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134217
Message:

Main/Snapshot: fix (harmless) code ordering goof which triggers an assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/SnapshotImpl.cpp

    r81425 r81492  
    18501850        Utf8Str strNVRAM = mBIOSSettings->i_getNonVolatileStorageFile();
    18511851        Utf8Str strNVRAMSnap = pSnapshotMachine->i_getSnapshotNVRAMFilename();
    1852         Utf8Str strNVRAMSnapAbs;
    1853         i_calculateFullPath(strNVRAMSnap, strNVRAMSnapAbs);
    18541852        if (strNVRAM.isNotEmpty() && strNVRAMSnap.isNotEmpty() && RTFileExists(strNVRAM.c_str()))
    18551853        {
     1854            Utf8Str strNVRAMSnapAbs;
     1855            i_calculateFullPath(strNVRAMSnap, strNVRAMSnapAbs);
    18561856            rc = VirtualBox::i_ensureFilePathExists(strNVRAMSnapAbs, true /* fCreate */);
    18571857            if (FAILED(rc))
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