VirtualBox

忽略:
時間撮記:
2016-2-8 下午08:57:04 (9 年 以前)
作者:
vboxsync
訊息:

VDIfVfs2.cpp: Assertion fixes.

檔案:
修改 1 筆資料

圖例:

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

    r59601 r59610  
    198198    PVDIFFROMVFS pThis = (PVDIFFROMVFS)pvUser;
    199199    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
    200     AssertPtrReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
     200    AssertReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
    201201    AssertReturn(pThis->fOpened, VERR_INVALID_HANDLE);
    202202
     
    213213    PVDIFFROMVFS            pThis = (PVDIFFROMVFS)pvUser;
    214214    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
    215     AssertPtrReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
    216     AssertReturn(pThis->fOpened, VERR_INVALID_HANDLE);
     215    AssertReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
    217216    AssertReturn(pThis->fOpened, VERR_INVALID_HANDLE);
    218217
     
    230229    PVDIFFROMVFS            pThis = (PVDIFFROMVFS)pvUser;
    231230    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
    232     AssertPtrReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
     231    AssertReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
    233232    AssertReturn(pThis->fOpened, VERR_INVALID_HANDLE);
    234233    AssertPtrNullReturn(pcbRead, VERR_INVALID_POINTER);
     
    245244    PVDIFFROMVFS            pThis = (PVDIFFROMVFS)pvUser;
    246245    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
    247     AssertPtrReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
     246    AssertReturn(pThis->hVfsIos == (RTVFSIOSTREAM)pvStorage, VERR_INVALID_HANDLE);
    248247    AssertReturn(pThis->fOpened, VERR_INVALID_HANDLE);
    249248    AssertPtrNullReturn(pcbWritten, VERR_INVALID_POINTER);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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