VirtualBox

Ignore:
Timestamp:
Jun 16, 2018 2:31:52 PM (7 years ago)
Author:
vboxsync
Message:

fuzzmastercmd.cpp: Try make gcc happy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fuzz/fuzzmastercmd.cpp

    r72573 r72578  
    215215static int rtFuzzCmdMasterFuzzRunProcessCfgSizeDef(size_t *pcbVal, const char *pszCfgItem, RTJSONVAL hJsonCfg, size_t cbDef, PRTERRINFO pErrInfo)
    216216{
     217    *pcbVal = cbDef; /* Make GCC 6.3.0 happy. */
     218
    217219    int64_t i64Val = 0;
    218220    int rc = RTJsonValueQueryIntegerByName(hJsonCfg, pszCfgItem, &i64Val);
    219221    if (rc == VERR_NOT_FOUND)
    220     {
    221         *pcbVal = cbDef;
    222222        rc = VINF_SUCCESS;
    223     }
    224223    else if (RT_FAILURE(rc))
    225224        rc = rtFuzzCmdMasterErrorRc(pErrInfo, rc, "JSON request malformed: Failed to query size_t value of \"%s\"", pszCfgItem);
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