VirtualBox

Changeset 18947 in vbox


Ignore:
Timestamp:
Apr 16, 2009 2:01:04 PM (16 years ago)
Author:
vboxsync
Message:

Mac compiler complains a lot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r18927 r18947  
    948948
    949949    const unsigned  iPDDst  = (GCPtrPage >> SHW_PD_SHIFT) & SHW_PD_MASK;
    950     PPGMPOOLPAGE    pShwPde;
     950    PPGMPOOLPAGE    pShwPde = NULL;
    951951    PX86PDPAE       pPDDst;
    952952
     
    10111011    GSTPDE          PdeSrc      = pPDSrc->a[iPDSrc];
    10121012# else /* PGM_GST_TYPE != PGM_TYPE_32BIT */
    1013     unsigned        iPDSrc;
     1013    unsigned        iPDSrc = 0;
    10141014#  if PGM_GST_TYPE == PGM_TYPE_PAE
    10151015    X86PDPE         PdpeSrc;
     
    16271627# elif PGM_SHW_TYPE == PGM_TYPE_PAE
    16281628    const unsigned  iPDDst  = (GCPtrPage >> SHW_PD_SHIFT) & SHW_PD_MASK;
    1629     PPGMPOOLPAGE    pShwPde;
     1629    PPGMPOOLPAGE    pShwPde = NULL;
    16301630    PX86PDPAE       pPDDst;
    16311631
     
    23912391# elif PGM_SHW_TYPE == PGM_TYPE_PAE
    23922392    const unsigned  iPDDst  = (GCPtrPage >> SHW_PD_SHIFT) & SHW_PD_MASK;
    2393     PPGMPOOLPAGE    pShwPde;
     2393    PPGMPOOLPAGE    pShwPde = NULL;
    23942394    PX86PDPAE       pPDDst;
    23952395    PSHWPDE         pPdeDst;
     
    30723072    PGSTPD          pPDSrc = pgmGstGet32bitPDPtr(&pVCpu->pgm.s);
    30733073#  elif PGM_GST_TYPE == PGM_TYPE_PAE
    3074     unsigned        iPDSrc;
     3074    unsigned        iPDSrc  = 0;
    30753075    X86PDPE         PdpeSrc;
    30763076    PGSTPD          pPDSrc = pgmGstGetPaePDPtr(&pVCpu->pgm.s, GCPtrPage, &iPDSrc, &PdpeSrc);
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