VirtualBox

Changeset 40774 in vbox


Ignore:
Timestamp:
Apr 5, 2012 12:29:58 PM (13 years ago)
Author:
vboxsync
Message:

Devices/Storage/DevATA: fix warning.

File:
1 edited

Legend:

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

    r40773 r40774  
    15781578static bool ataReadSectorsSS(ATADevState *s)
    15791579{
    1580     int rc = VERR_GENERAL_FAILURE;
     1580    int rc;
    15811581    uint32_t cSectors;
    15821582    uint64_t iLBA;
    1583     bool fRedo = false;
     1583    bool fRedo;
    15841584
    15851585    cSectors = s->cbElementaryTransfer / 512;
     
    38353835static bool ataTrimSS(ATADevState *s)
    38363836{
    3837     int rc;
     3837    int rc = VERR_GENERAL_FAILURE;
    38383838    uint32_t cRangesMax;
    38393839    uint64_t *pu64Range = (uint64_t *)s->CTX_SUFF(pbIOBuffer);
    3840     bool fRedo;
     3840    bool fRedo = false;
    38413841
    38423842    cRangesMax = s->cbElementaryTransfer / sizeof(uint64_t);
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