VirtualBox

Changeset 107575 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Jan 9, 2025 9:41:12 AM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166648
Message:

src/VBox/Main/src-all/NvramStoreImpl.cpp: Fixed warnings found by Parfait (assignment unused). Might be important, needs review. jiraref:VBP-1424

File:
1 edited

Legend:

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

    r106061 r107575  
    12331233                                                        &pCryptoIf, &pKey, &hVfsIosEncrypted);
    12341234#endif
    1235 
    1236                 vrc = RTVfsUtilPumpIoStreams(hVfsIosSrc,
    1237                                                hVfsIosEncrypted != NIL_RTVFSIOSTREAM
    1238                                              ? hVfsIosEncrypted
    1239                                              : hVfsIosDst
    1240                                              , 0 /*cbBufHint*/);
    1241 
     1235                if (RT_SUCCESS(vrc))
     1236                    vrc = RTVfsUtilPumpIoStreams(hVfsIosSrc,
     1237                                                   hVfsIosEncrypted != NIL_RTVFSIOSTREAM
     1238                                                 ? hVfsIosEncrypted
     1239                                                 : hVfsIosDst
     1240                                                 , 0 /*cbBufHint*/);
    12421241#ifdef VBOX_WITH_FULL_VM_ENCRYPTION
    12431242                if (hVfsIosEncrypted != NIL_RTVFSIOSTREAM)
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