VirtualBox

儲存庫 vbox 的更動 63067


忽略:
時間撮記:
2016-8-5 下午09:52:46 (8 年 以前)
作者:
vboxsync
訊息:

NT4/VBoxPS2NT.cpp: DriverEntry: Fixed a couple of goto / variable issues that gcc would never ever have let us get away with. Goto's are crazy assembly stuff and should be banished!

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/WINNT/Mouse/NT4/VBoxPS2NT.cpp

    r63066 r63067  
    17791779{
    17801780    PDEVICE_OBJECT pPortDevObj = NULL;
     1781    PDEVEXT pDevExt = NULL;
    17811782    NTSTATUS status = STATUS_SUCCESS;
    17821783    KIRQL IrqlCoord = 0;
     
    17911792    BOOLEAN fConflict;
    17921793
     1794    ULONG resourceListSize = 0;
     1795    PCM_RESOURCE_LIST resources = NULL;
     1796
    17931797    UNICODE_STRING KbdNameFull          = { 0, 0, NULL };
    17941798    UNICODE_STRING MouNameFull          = { 0, 0, NULL };
     
    18951899        goto fail;
    18961900
    1897     PDEVEXT pDevExt = (PDEVEXT)pPortDevObj->DeviceExtension;
     1901    pDevExt = (PDEVEXT)pPortDevObj->DeviceExtension;
    18981902    *pDevExt = pInit->DevExt;
    18991903    pDevExt->pDevObj = pPortDevObj;
    19001904
    1901     ULONG resourceListSize = 0;
    1902     PCM_RESOURCE_LIST resources = NULL;
    19031905    CreateResList(pDevExt, &resources, &resourceListSize);
    19041906
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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