VirtualBox

Changeset 23353 in vbox for trunk/src/VBox/Devices/EFI


Ignore:
Timestamp:
Sep 26, 2009 7:37:53 PM (15 years ago)
Author:
vboxsync
Message:

DevEFI.cpp: shut up gcc warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevEFI.cpp

    r23119 r23353  
    623623     * search thru every one on the way.
    624624     */
    625     uint32_t                    cbFfsFile;
    626     EFI_FFS_FILE_HEADER const  *pFfsFile = (EFI_FFS_FILE_HEADER const *)(pThis->pu8EfiRom + pFwVolHdr->HeaderLength);
     625    uint32_t                    cbFfsFile = 0;  /* shut up gcc */
     626    EFI_FFS_FILE_HEADER const  *pFfsFile  = (EFI_FFS_FILE_HEADER const *)(pThis->pu8EfiRom + pFwVolHdr->HeaderLength);
    627627    pFfsFile = efiFwVolFindFileByType(pFfsFile, pbFwVolEnd, EFI_FV_FILETYPE_SECURITY_CORE, &cbFfsFile);
    628628    AssertLogRelMsgReturn(pFfsFile, ("No SECURITY_CORE found in the firmware volume\n"), VERR_FILE_NOT_FOUND);
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