diff options
Diffstat (limited to 'src/VBox/VMM/VMMR0/GMMR0.cpp')
-rw-r--r-- | src/VBox/VMM/VMMR0/GMMR0.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/VBox/VMM/VMMR0/GMMR0.cpp b/src/VBox/VMM/VMMR0/GMMR0.cpp index e0377484be1..fb475a43702 100644 --- a/src/VBox/VMM/VMMR0/GMMR0.cpp +++ b/src/VBox/VMM/VMMR0/GMMR0.cpp @@ -4208,8 +4208,8 @@ GMMR0DECL(int) GMMR0RegisterSharedModule(PVM pVM, VMCPUID idCpu, VBOXOSFAMILY en pRecVM->aRegions[i].paHCPhysPageID = NULL; /* unused */ } - bool ret = RTAvlGCPtrInsert(&pGVM->gmm.s.pSharedModuleTree, &pRecVM->Core); - Assert(ret); + bool fInsert = RTAvlGCPtrInsert(&pGVM->gmm.s.pSharedModuleTree, &pRecVM->Core); + Assert(fInsert); NOREF(fInsert); Log(("GMMR0RegisterSharedModule: new local module %s\n", pszModuleName)); fNewModule = true; @@ -4280,8 +4280,8 @@ GMMR0DECL(int) GMMR0RegisterSharedModule(PVM pVM, VMCPUID idCpu, VBOXOSFAMILY en pGlobalModule->cUsers++; rc = VINF_SUCCESS; - bool ret = RTAvlGCPtrInsert(&pGMM->pGlobalSharedModuleTree, &pGlobalModule->Core); - Assert(ret); + bool fInsert = RTAvlGCPtrInsert(&pGMM->pGlobalSharedModuleTree, &pGlobalModule->Core); + Assert(fInsert); NOREF(fInsert); Log(("GMMR0RegisterSharedModule: new global module %s\n", pszModuleName)); } @@ -4696,8 +4696,8 @@ end: */ static DECLCALLBACK(int) gmmR0CleanupSharedModule(PAVLGCPTRNODECORE pNode, void *pvGVM) { - PGVM pGVM = (PGVM)pvGVM; - PGMMSHAREDMODULEPERVM pRecVM = (PGMMSHAREDMODULEPERVM)pNode; + PGMMSHAREDMODULEPERVM pRecVM = (PGMMSHAREDMODULEPERVM)pNode; + NOREF(pvGVM); Assert(pRecVM->pGlobalModule || pRecVM->fCollision); if (pRecVM->pGlobalModule) |