VirtualBox

Changeset 48161 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 29, 2013 2:18:24 PM (11 years ago)
Author:
vboxsync
Message:

Storage/DevFdc: Uninitialized variable warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevFdc.cpp

    r48118 r48161  
    11041104#ifdef VBOX
    11051105    /* The change line signal is reported by the currently selected
    1106      * drive. If the corresponding motor on bit is not set, the drive 
    1107      * is *not* selected! 
     1106     * drive. If the corresponding motor on bit is not set, the drive
     1107     * is *not* selected!
    11081108     */
    11091109    if (fdctrl_media_changed(get_cur_drv(fdctrl))
     
    15581558                fdctrl_stop_transfer(fdctrl, FD_SR0_ABNTERM | FD_SR0_SEEK, FD_SR1_NW,
    15591559                                     0x00);
     1560                len = 0;
    15601561                goto transfer_error;
    15611562            }
     
    19971998        cur_drv->bps = fdctrl->fifo[2] > 7 ? 16384 : 128 << fdctrl->fifo[2];
    19981999        cur_drv->last_sect = ns;
    1999    
     2000
    20002001        fdctrl_start_format(fdctrl);
    20012002    }
     
    20772078    fdrive_t *cur_drv;
    20782079
    2079     FLOPPY_DPRINTF("CMD:%02x SEL:%02x NCN:%02x\n", fdctrl->fifo[0], 
     2080    FLOPPY_DPRINTF("CMD:%02x SEL:%02x NCN:%02x\n", fdctrl->fifo[0],
    20802081                   fdctrl->fifo[1], fdctrl->fifo[2]);
    20812082
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