VirtualBox

Changeset 107445 in vbox for trunk/src


Ignore:
Timestamp:
Jan 6, 2025 6:51:46 PM (13 days ago)
Author:
vboxsync
Message:

Devices/Storage/DrvRamDisk.cpp: Remove unused variable, remove unused assignment (not required as the called function will propagate the status code to the driver above because the fUpNotify parameter is true), bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvRamDisk.cpp

    r106061 r107445  
    349349        PDRVDISKSEGMENT pSeg = (PDRVDISKSEGMENT)RTAvlrFileOffsetRangeGet(pThis->pTreeSegments, offCurr);
    350350        size_t cbRange  = 0;
    351         bool fCmp       = false;
    352351        unsigned offSeg = 0;
    353352
     
    367366        else
    368367        {
    369             fCmp    = true;
    370368            offSeg  = offCurr - pSeg->Core.Key;
    371369            cbRange = RT_MIN(cbLeft, (size_t)(pSeg->Core.KeyLast + 1 - offCurr));
     
    10791077                    }
    10801078                    ASMAtomicIncU32(&pThis->cIoReqsActive);
    1081                     rc = drvramdiskMediaExIoReqReadWriteProcess(pThis, pIoReqCur, true /* fUpNotify */);
     1079                    drvramdiskMediaExIoReqReadWriteProcess(pThis, pIoReqCur, true /* fUpNotify */);
    10821080                }
    10831081                else
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