VirtualBox

Changeset 103415 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Feb 19, 2024 7:52:27 AM (10 months ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/string.cpp

    r98297 r103415  
    606606    size_t cwcSrc;
    607607    int vrc = RTStrCalcUtf16LenEx(pszSrc, cchSrc, &cwcSrc);
    608     AssertRCStmt(vrc, E_INVALIDARG);
     608    AssertRCReturn(vrc, E_INVALIDARG);
    609609
    610610    size_t cwcOld = length();
     
    616616        PRTUTF16 pwszDst = &m_bstr[cwcOld];
    617617        vrc = RTStrToUtf16Ex(pszSrc, cchSrc, &pwszDst, cwcSrc + 1, NULL);
    618         AssertRCStmt(vrc, E_INVALIDARG);
     618        AssertRCReturn(vrc, E_INVALIDARG);
    619619    }
    620620    m_bstr[cwcTotal] = '\0';
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