VirtualBox

Changeset 22121 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 10, 2009 9:53:53 AM (15 years ago)
Author:
vboxsync
Message:

VMM: gcc warnings and a todo.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/SSM-new.cpp

    r22100 r22121  
    63576357VMMR3DECL(uint64_t) SSMR3HandleGetUnitOffset(PSSMHANDLE pSSM)
    63586358{
     6359    AssertMsgFailed(("/** @todo this isn't correct any longer. */"));
    63596360    return pSSM->offUnit;
    63606361}
  • trunk/src/VBox/VMM/VM.cpp

    r22042 r22121  
    492492    }
    493493    RTMemFree(pUVM);
     494    *ppUVM = NULL; /* shuts up gcc */
    494495    return rc;
    495496}
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r22037 r22121  
    175175        State.GCPtr = InstrGC;
    176176    else
    177         State.GCPtr = NULL;
     177        State.GCPtr = NIL_RTGCPTR;
    178178
    179179    return DISCoreOneEx(InstrGC, pDis->mode, EMReadBytes, &State, pDis, pOpsize);
     
    248248        State.GCPtr = GCPtrInstr;
    249249    else
    250         State.GCPtr = NULL;
     250        State.GCPtr = NIL_RTGCPTR;
    251251#endif
    252252
Note: See TracChangeset for help on using the changeset viewer.

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