VirtualBox

儲存庫 vbox 的更動 62753


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

Storage: warnings.

檔案:
修改 1 筆資料

圖例:

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

    r60608 r62753  
    333333                    memcpy(pvBuf, szPath, cb);
    334334                }
     335                else
     336                    cb = 0; /* (Shut up MSC) */
    335337            }
    336338            else
     
    916918DECLINLINE(bool) vhdBlockBitmapSectorSet(PVHDIMAGE pImage, uint8_t *pu8Bitmap, uint32_t cBlockBitmapEntry)
    917919{
     920    RT_NOREF1(pImage);
    918921    uint32_t iBitmap = (cBlockBitmapEntry / 8); /* Byte in the block bitmap. */
    919922
     
    988991static uint32_t vhdAllocateParentLocators(PVHDIMAGE pImage, VHDDynamicDiskHeader *pDDH, uint64_t u64Offset)
    989992{
     993    RT_NOREF1(pImage);
    990994    PVHDPLE pLocator = pDDH->ParentLocatorEntry;
    991995
     
    11071111                          unsigned uPercentStart, unsigned uPercentSpan)
    11081112{
     1113    RT_NOREF3(pszComment, pPCHSGeometry, pLCHSGeometry);
    11091114    int rc;
    11101115    VHDFooter Footer;
     
    12401245                                         PVDINTERFACE pVDIfsImage, VDTYPE *penmType)
    12411246{
     1247    RT_NOREF1(pVDIfsDisk);
    12421248    LogFlowFunc(("pszFilename=\"%s\" pVDIfsDisk=%#p pVDIfsImage=%#p\n", pszFilename, pVDIfsDisk, pVDIfsImage));
    12431249    int rc;
     
    20862092                                       size_t cbComment)
    20872093{
     2094    RT_NOREF2(pszComment, cbComment);
    20882095    LogFlowFunc(("pBackendData=%#p pszComment=%#p cbComment=%zu\n", pBackendData, pszComment, cbComment));
    20892096    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
     
    21042111static DECLCALLBACK(int) vhdSetComment(void *pBackendData, const char *pszComment)
    21052112{
     2113    RT_NOREF1(pszComment);
    21062114    LogFlowFunc(("pBackendData=%#p pszComment=\"%s\"\n", pBackendData, pszComment));
    21072115    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
     
    21832191static DECLCALLBACK(int) vhdGetModificationUuid(void *pBackendData, PRTUUID pUuid)
    21842192{
     2193    RT_NOREF1(pUuid);
    21852194    LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid));
    21862195    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
     
    22012210static DECLCALLBACK(int) vhdSetModificationUuid(void *pBackendData, PCRTUUID pUuid)
    22022211{
     2212    RT_NOREF1(pUuid);
    22032213    LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid));
    22042214    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
     
    22712281static DECLCALLBACK(int) vhdGetParentModificationUuid(void *pBackendData, PRTUUID pUuid)
    22722282{
     2283    RT_NOREF1(pUuid);
    22732284    LogFlowFunc(("pBackendData=%#p pUuid=%#p\n", pBackendData, pUuid));
    22742285    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
     
    22892300static DECLCALLBACK(int) vhdSetParentModificationUuid(void *pBackendData, PCRTUUID pUuid)
    22902301{
     2302    RT_NOREF1(pUuid);
    22912303    LogFlowFunc(("pBackendData=%#p Uuid=%RTuuid\n", pBackendData, pUuid));
    22922304    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
     
    24342446                                    PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation)
    24352447{
     2448    RT_NOREF2(pVDIfsDisk, pVDIfsImage);
    24362449    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
    24372450    int rc = VINF_SUCCESS;
    2438     void *pvBuf = NULL, *pvReplace = NULL;
     2451    void *pvBuf = NULL;
    24392452    uint32_t *paBlocks = NULL;
    24402453
     
    25452558                if (ASMBitFirstSet((volatile void *)pvBuf, (uint32_t)pImage->cbDataBlock * 8) == -1)
    25462559                {
    2547                     paBat[i] = ~0;
     2560                    paBat[i] = UINT32_MAX;
    25482561                    paBlocks[idxBlock] = ~0U;
    25492562                    /* Adjust progress info, one block to be relocated. */
     
    26752688                                   PVDINTERFACE pVDIfsOperation)
    26762689{
     2690    RT_NOREF4(uPercentSpan, uPercentStart, pVDIfsDisk, pVDIfsImage);
    26772691    PVHDIMAGE pImage = (PVHDIMAGE)pBackendData;
    26782692    int rc = VINF_SUCCESS;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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