VirtualBox

Changeset 103415 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Feb 19, 2024 7:52:27 AM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161736
Message:

Additions,Main,VMM,Runtime: Fix some unused expression warnings, bugref:3409

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp

    r98273 r103415  
    931931
    932932        const char *pcszSource = DnDTransferObjectGetSourcePath(pObj);
    933         AssertPtrBreakStmt(pcszSource, VERR_INVALID_POINTER);
     933        AssertPtrBreakStmt(pcszSource, vrc = VERR_INVALID_POINTER);
    934934
    935935        /** @todo Add sparse file support based on fFlags? (Use Open(..., fFlags | SPARSE). */
     
    10061006
    10071007        const char *pcszSource = DnDTransferObjectGetSourcePath(pObj);
    1008         AssertPtrBreakStmt(pcszSource, VERR_INVALID_POINTER);
     1008        AssertPtrBreakStmt(pcszSource, vrc = VERR_INVALID_POINTER);
    10091009
    10101010        AssertMsgReturn(DnDTransferObjectIsOpen(pObj),
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r98278 r103415  
    10081008
    10091009        pvChunk += cbChunk;
    1010         AssertBreakStmt(cbData >= cbChunk, VERR_BUFFER_UNDERFLOW);
     1010        AssertBreakStmt(cbData >= cbChunk, vrc = VERR_BUFFER_UNDERFLOW);
    10111011        cbData  -= cbChunk;
    10121012    }
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