VirtualBox

忽略:
時間撮記:
2016-7-30 下午12:11:26 (8 年 以前)
作者:
vboxsync
訊息:

Storage: warnings.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Storage/VCICache.cpp

    r62736 r62737  
    16851685                                  PVDIOCTX pIoCtx, size_t *pcbWriteProcess)
    16861686{
     1687    RT_NOREF5(pBackendData, uOffset, cbToWrite, pIoCtx, pcbWriteProcess);
    16871688    LogFlowFunc(("pBackendData=%#p uOffset=%llu cbToWrite=%zu pIoCtx=%#p pcbWriteProcess=%#p\n",
    16881689                 pBackendData, uOffset, cbToWrite, pIoCtx, pcbWriteProcess));
    1689     PVCICACHE pCache = (PVCICACHE)pBackendData;
     1690    //PVCICACHE pCache = (PVCICACHE)pBackendData;
    16901691    int rc = VINF_SUCCESS;
    16911692    uint64_t cBlocksToWrite = VCI_BYTE2BLOCK(cbToWrite);
    1692     uint64_t offBlockAddr  = VCI_BYTE2BLOCK(uOffset);
     1693    //uint64_t offBlockAddr  = VCI_BYTE2BLOCK(uOffset);
    16931694
    16941695    AssertPtr(pCache);
    16951696    Assert(uOffset % 512 == 0);
    16961697    Assert(cbToWrite % 512 == 0);
    1697 
    16981698    while (cBlocksToWrite)
    16991699    {
     
    17101710static DECLCALLBACK(int) vciFlush(void *pBackendData, PVDIOCTX pIoCtx)
    17111711{
     1712    RT_NOREF1(pIoCtx);
    17121713    LogFlowFunc(("pBackendData=%#p\n", pBackendData));
    17131714    PVCICACHE pCache = (PVCICACHE)pBackendData;
    1714     int rc = VINF_SUCCESS;
    1715 
    1716     rc = vciFlushImage(pCache);
     1715
     1716    int rc = vciFlushImage(pCache);
    17171717    LogFlowFunc(("returns %Rrc\n", rc));
    17181718    return rc;
     
    18391839                                       size_t cbComment)
    18401840{
     1841    RT_NOREF2(pszComment, cbComment);
    18411842    LogFlowFunc(("pBackendData=%#p pszComment=%#p cbComment=%zu\n", pBackendData, pszComment, cbComment));
    18421843    PVCICACHE pCache = (PVCICACHE)pBackendData;
     
    18571858static DECLCALLBACK(int) vciSetComment(void *pBackendData, const char *pszComment)
    18581859{
     1860    RT_NOREF1(pszComment);
    18591861    LogFlowFunc(("pBackendData=%#p pszComment=\"%s\"\n", pBackendData, pszComment));
    18601862    PVCICACHE pCache = (PVCICACHE)pBackendData;
     
    18801882static DECLCALLBACK(int) vciGetUuid(void *pBackendData, PRTUUID pUuid)
    18811883{
     1884    RT_NOREF1(pUuid);
    18821885    LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid));
    18831886    PVCICACHE pCache = (PVCICACHE)pBackendData;
     
    18981901static DECLCALLBACK(int) vciSetUuid(void *pBackendData, PCRTUUID pUuid)
    18991902{
     1903    RT_NOREF1(pUuid);
    19001904    LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid));
    19011905    PVCICACHE pCache = (PVCICACHE)pBackendData;
     
    19221926static DECLCALLBACK(int) vciGetModificationUuid(void *pBackendData, PRTUUID pUuid)
    19231927{
     1928    RT_NOREF1(pUuid);
    19241929    LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid));
    19251930    PVCICACHE pCache = (PVCICACHE)pBackendData;
     
    19401945static DECLCALLBACK(int) vciSetModificationUuid(void *pBackendData, PCRTUUID pUuid)
    19411946{
     1947    RT_NOREF1(pUuid);
    19421948    LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid));
    19431949    PVCICACHE pCache = (PVCICACHE)pBackendData;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette