VirtualBox

Changeset 70307 in vbox for trunk/src/VBox/Storage


Ignore:
Timestamp:
Dec 22, 2017 8:37:01 AM (7 years ago)
Author:
vboxsync
Message:

VDVfs.cpp: Nit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VDVfs.cpp

    r70305 r70307  
    7575        uint8_t *pbBuf = (uint8_t *)pvBuf;
    7676        uint8_t abBuf[512];
    77         rc = VINF_SUCCESS; /* Make compilers happy. */
    7877
    7978        /* Unaligned buffered read of head.  Aligns the offset. */
     
    9089            }
    9190        }
     91        else
     92            rc = VINF_SUCCESS;
    9293
    9394        /* Aligned direct read. */
     
    149150        uint8_t *pbBuf = (uint8_t *)pvBuf;
    150151        uint8_t abBuf[512];
    151         rc = VINF_SUCCESS; /* Make compilers happy. */
    152152
    153153        /* Unaligned buffered read+write of head.  Aligns the offset. */
     
    168168            }
    169169        }
     170        else
     171            rc = VINF_SUCCESS;
    170172
    171173        /* Aligned direct write. */
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