VirtualBox

Changeset 7908 in vbox


Ignore:
Timestamp:
Apr 11, 2008 11:32:10 AM (17 years ago)
Author:
vboxsync
Message:

Drop some unused variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/logo.c

    r7893 r7908  
    313313void show_logo()
    314314{
    315     Bit16u ebda_seg=read_word(0x0040,0x000E);
    316 
    317     LOGOHDR     *logo_hdr;
    318     Bit16u      logo_hdr_size, tmp, i;
    319     Bit32u      hdr_size;
    320 
    321     Bit8u       is_fade_in, is_fade_out, is_logo_failed, uBootMenu;
     315    Bit16u      ebda_seg = read_word(0x0040,0x000E);
     316    Bit8u       f12_pressed = 0;
     317    Bit8u       scode;
     318    Bit16u      tmp, i;
     319
     320    LOGOHDR    *logo_hdr = 0;
     321    Bit8u       is_fade_in, is_fade_out, uBootMenu;
    322322    Bit16u      logo_time;
    323323
    324     Bit32u      offset;
    325 
    326     Bit8u       scode, f12_pressed = 0;
    327     Bit8u       c;
    328324
    329325    // Set PIT to 1ms ticks
    330326    wait_init();
    331327
    332     is_logo_failed = 0;
    333 
    334     logo_hdr = 0;
    335     logo_hdr_size = sizeof(LOGOHDR);
    336328
    337329    // Get main signature
     
    394386done:
    395387    // Clear forced boot drive setting.
    396     write_byte(ebda_seg,&EbdaData->uForceBootDevice, 0);
     388    write_byte(ebda_seg, &EbdaData->uForceBootDevice, 0);
    397389
    398390    // Don't restore previous video mode
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