VirtualBox

Ignore:
Timestamp:
Jul 28, 2016 9:40:25 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109217
Message:

VMMR3: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMCritSect.cpp

    r62478 r62644  
    5454int pdmR3CritSectBothInitStats(PVM pVM)
    5555{
     56    RT_NOREF_PV(pVM);
    5657    STAM_REG(pVM, &pVM->pdm.s.StatQueuedCritSectLeaves, STAMTYPE_COUNTER, "/PDM/QueuedCritSectLeaves", STAMUNIT_OCCURENCES,
    5758             "Number of times a critical section leave request needed to be queued for ring-3 execution.");
     
    154155        if (pszName)
    155156        {
     157            RT_SRC_POS_NOREF();
    156158#ifndef PDMCRITSECT_STRICT
    157159            pCritSect->Core.pValidatorRec = NULL;
     
    246248                pCritSect->Core.pValidatorRead  = NULL;
    247249                pCritSect->Core.pValidatorWrite = NULL;
     250                RT_SRC_POS_NOREF();
    248251#ifdef PDMCRITSECTRW_STRICT
    249252# ifdef RT_LOCK_STRICT_ORDER
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