VirtualBox

Changeset 62566 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 26, 2016 3:16:41 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109135
Message:

IPRT: More unused parameters.

Location:
trunk/src/VBox/Runtime/common
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgcfg.cpp

    r62564 r62566  
    740740{
    741741#ifdef IPRT_WITH_HTTP
    742     NOREF(pszUuidMappingSubDir); /** @todo do we bother trying pszUuidMappingSubDir? */
    743     NOREF(pszCacheSuffix); /** @todo do we bother trying pszUuidMappingSubDir? */
     742    RT_NOREF_PV(pszUuidMappingSubDir); /** @todo do we bother trying pszUuidMappingSubDir? */
     743    RT_NOREF_PV(pszCacheSuffix); /** @todo do we bother trying pszUuidMappingSubDir? */
     744    RT_NOREF_PV(fFlags);
    744745
    745746    if (pThis->fFlags & RTDBGCFG_FLAGS_NO_SYM_SRV)
  • trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp

    r62564 r62566  
    23832383static void rtldrPE_VerifySignatureDestroy(PRTLDRMODPE pModPe, PRTLDRPESIGNATURE pSignature)
    23842384{
     2385    RT_NOREF_PV(pModPe);
    23852386    RTCrPkcs7ContentInfo_Delete(&pSignature->ContentInfo);
    23862387    RTMemTmpFree(pSignature);
     
    24012402    AssertReturn(pEntry->wCertificateType == WIN_CERT_TYPE_PKCS_SIGNED_DATA, VERR_INTERNAL_ERROR_2);
    24022403    AssertReturn(pEntry->wRevision        == WIN_CERT_REVISION_2_0, VERR_INTERNAL_ERROR_2);
     2404    RT_NOREF_PV(pModPe);
    24032405
    24042406    RTASN1CURSORPRIMARY PrimaryCursor;
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r62477 r62566  
    851851        else
    852852            pLogger->pInt->cSecsHistoryTimeSlot = cSecsHistoryTimeSlot;
    853 # endif  /* IN_RING3 */
     853# else   /* !IN_RING3 */
     854        RT_NOREF_PV(pfnPhase); RT_NOREF_PV(cHistory); RT_NOREF_PV(cbHistoryFileMax); RT_NOREF_PV(cSecsHistoryTimeSlot);
     855# endif  /* !IN_RING3 */
    854856        if (pszGroupSettings)
    855857            RTLogGroupSettings(pLogger, pszGroupSettings);
     
    934936                    RTLogGroupSettings(pLogger, pszValue);
    935937            }
    936 # endif /* IN_RING3 */
     938# else  /* !IN_RING3 */
     939            RT_NOREF_PV(pszEnvVarBase); RT_NOREF_PV(pszFilenameFmt); RT_NOREF_PV(args);
     940# endif /* !IN_RING3 */
    937941
    938942            /*
  • trunk/src/VBox/Runtime/common/misc/aiomgr.cpp

    r62477 r62566  
    850850{
    851851    PRTAIOMGRINT pThis = (PRTAIOMGRINT)pvUser;
    852     bool fRunning = true;
     852    /*bool fRunning = true;*/
    853853    int rc = VINF_SUCCESS;
    854854
     
    879879            rc = rtAioMgrCheckFiles(pThis);
    880880        }
    881     } while (   fRunning
    882              && RT_SUCCESS(rc));
    883 
     881    } while (   /*fRunning - never modified
     882             && */ RT_SUCCESS(rc));
     883
     884    RT_NOREF_PV(hThreadSelf);
    884885    return rc;
    885886}
     
    10981099{
    10991100    PRTAIOMGRREQ pReq = (PRTAIOMGRREQ)pvObj;
     1101    RT_NOREF_PV(hMemCache); RT_NOREF_PV(pvUser);
    11001102
    11011103    memset(pReq, 0, sizeof(RTAIOMGRREQ));
     
    11141116    PRTAIOMGRREQ pReq = (PRTAIOMGRREQ)pvObj;
    11151117    int rc = RTFileAioReqDestroy(pReq->hReqIo);
    1116 
    11171118    AssertRC(rc);
     1119
     1120    RT_NOREF_PV(hMemCache); RT_NOREF_PV(pvUser);
    11181121}
    11191122
  • trunk/src/VBox/Runtime/common/zip/xarvfs.cpp

    r62477 r62566  
    14021402 * @interface_method_impl{RTVFSSYMLINKOPS,pfnRead}
    14031403 */
    1404 static DECLCALLBACK(int) rtZipXarFssSym_Read(void *pvThis, char *pszTarget, size_t cbXarget)
     1404static DECLCALLBACK(int) rtZipXarFssSym_Read(void *pvThis, char *pszTarget, size_t cbTarget)
    14051405{
    14061406    PRTZIPXARBASEOBJ pThis = (PRTZIPXARBASEOBJ)pvThis;
     
    14081408    return RTStrCopy(pszTarget, cbXarget, pThis->pXarReader->szTarget);
    14091409#else
     1410    RT_NOREF_PV(pThis); RT_NOREF_PV(pszTarget); RT_NOREF_PV(cbTarget);
    14101411    return VERR_NOT_IMPLEMENTED;
    14111412#endif
     
    18191820{
    18201821    int rc;
     1822    RT_NOREF_PV(pXarHdr);
    18211823
    18221824    /*
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