VirtualBox

Changeset 62731 in vbox


Ignore:
Timestamp:
Jul 30, 2016 11:28:13 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109309
Message:

Storage: warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/testcase/VDScriptInterp.cpp

    r62482 r62731  
    163163static int vdScriptInterpreterError(PVDSCRIPTINTERPCTX pThis, int rc, RT_SRC_POS_DECL, const char *pszFmt, ...)
    164164{
    165     RTPrintf(pszFmt);
     165    RT_NOREF1(pThis); RT_SRC_POS_NOREF();
     166    va_list va;
     167    va_start(va, pszFmt);
     168    RTPrintfV(pszFmt, va);
     169    va_end(va);
    166170    return rc;
    167171}
     
    385389static DECLCALLBACK(int) vdScriptInterpreterVarSpaceDestroy(PRTSTRSPACECORE pStr, void *pvUser)
    386390{
     391    RT_NOREF1(pvUser);
    387392    RTMemFree(pStr);
    388393    return VINF_SUCCESS;
     
    779784                        vdScriptInterpreterPopValue(pThis, &pVar->Value);
    780785                        bool fInserted = RTStrSpaceInsert(&pFnCall->ScopeRoot.hStrSpaceVar, &pVar->Core);
    781                         Assert(fInserted);
     786                        Assert(fInserted); RT_NOREF_PV(fInserted);
    782787                    }
    783788                    else
     
    10031008                                      PVDSCRIPTARG pRet)
    10041009{
     1010    RT_NOREF1(pRet);
    10051011    int rc = VINF_SUCCESS;
    10061012    VDSCRIPTINTERPCTX InterpCtx;
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