vbox的更動 12143 路徑 trunk/src/VBox/Devices/Storage
- 時間撮記:
- 2008-9-5 下午03:57:39 (16 年 以前)
- 位置:
- trunk/src/VBox/Devices/Storage
- 檔案:
-
- 修改 4 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Storage/RawHDDCore.cpp
r11484 r12143 396 396 { 397 397 pCbProgress = VDGetInterfaceProgress(pIfProgress); 398 pfnProgress = pCbProgress->pfnProgress; 398 if (pCbProgress) 399 pfnProgress = pCbProgress->pfnProgress; 399 400 pvUser = pIfProgress->pvUser; 400 401 } -
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r12116 r12143 1506 1506 } 1507 1507 1508 if (RT_SUCCESS(rc) && pCbProgress ->pfnProgress)1508 if (RT_SUCCESS(rc) && pCbProgress && pCbProgress->pfnProgress) 1509 1509 pCbProgress->pfnProgress(NULL /* WARNING! pVM=NULL */, 100, 1510 1510 pIfProgress->pvUser); … … 1701 1701 } 1702 1702 1703 if (RT_SUCCESS(rc) && pCbProgress ->pfnProgress)1703 if (RT_SUCCESS(rc) && pCbProgress && pCbProgress->pfnProgress) 1704 1704 pCbProgress->pfnProgress(NULL /* WARNING! pVM=NULL */, 100, 1705 1705 pIfProgress->pvUser); … … 1827 1827 cbRemaining -= cbThisRead; 1828 1828 1829 if (pCbProgress ->pfnProgress)1829 if (pCbProgress && pCbProgress->pfnProgress) 1830 1830 { 1831 1831 rc = pCbProgress->pfnProgress(NULL /* WARNING! pVM=NULL */, … … 1876 1876 cbRemaining -= cbThisRead; 1877 1877 1878 if (pCbProgress ->pfnProgress)1878 if (pCbProgress && pCbProgress->pfnProgress) 1879 1879 { 1880 1880 rc = pCbProgress->pfnProgress(NULL /* WARNING! pVM=NULL */, … … 1944 1944 RTMemTmpFree(pvBuf); 1945 1945 1946 if (RT_SUCCESS(rc) && pCbProgress ->pfnProgress)1946 if (RT_SUCCESS(rc) && pCbProgress && pCbProgress->pfnProgress) 1947 1947 pCbProgress->pfnProgress(NULL /* WARNING! pVM=NULL */, 100, 1948 1948 pIfProgress->pvUser); … … 2148 2148 cbRemaining -= cbThisRead; 2149 2149 2150 if (pCbProgress ->pfnProgress)2150 if (pCbProgress && pCbProgress->pfnProgress) 2151 2151 { 2152 2152 rc = pCbProgress->pfnProgress(NULL /* WARNING! pVM=NULL */, … … 2213 2213 if (RT_SUCCESS(rc)) 2214 2214 { 2215 if (pCbProgress ->pfnProgress)2215 if (pCbProgress && pCbProgress->pfnProgress) 2216 2216 pCbProgress->pfnProgress(NULL /* WARNING! pVM=NULL */, 100, 2217 2217 pIfProgress->pvUser); -
trunk/src/VBox/Devices/Storage/VDIHDDCore.cpp
r11484 r12143 834 834 { 835 835 pCbProgress = VDGetInterfaceProgress(pIfProgress); 836 pfnProgress = pCbProgress->pfnProgress; 836 if (pCbProgress) 837 pfnProgress = pCbProgress->pfnProgress; 837 838 pvUser = pIfProgress->pvUser; 838 839 } -
trunk/src/VBox/Devices/Storage/VHDHDDCore.cpp
r12116 r12143 1600 1600 { 1601 1601 pCbProgress = VDGetInterfaceProgress(pIfProgress); 1602 pfnProgress = pCbProgress->pfnProgress; 1602 if (pCbProgress) 1603 pfnProgress = pCbProgress->pfnProgress; 1603 1604 pvUser = pIfProgress->pvUser; 1604 1605 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器