VirtualBox

Changeset 62450 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 22, 2016 3:04:27 PM (8 years ago)
Author:
vboxsync
Message:

bldprogs: MSC level 4 warning fixes.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp

    r62406 r62450  
    338338
    339339
     340#if 0 /* unused */
    340341/**
    341342 * Checks if a dword could be a far 16:16 BIOS address.
     
    356357    return true;
    357358}
     359#endif
    358360
    359361
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp

    r60727 r62450  
    162162    remove(pszFile);
    163163
    164     int rc = -1;
    165164    FILE *pFile = openfile(pszFile, true);
    166165    if (pFile)
     
    10281027}
    10291028
     1029#if 0 /* unused */
    10301030/**
    10311031 * LEDATA + FIXUPP - Adds a byte to the LEDATA record, splitting if needed.
     
    10411041    return false;
    10421042}
     1043#endif
    10431044
    10441045/**
     
    19331934    if (omfWriter_BeginModule(pThis, pszFile))
    19341935    {
    1935         Elf64_Ehdr const *pEhdr     = (Elf64_Ehdr const *)pbFile;
    1936         Elf64_Shdr const *paShdrs   = (Elf64_Shdr const *)&pbFile[pEhdr->e_shoff];
    1937         const char       *pszStrTab = (const char *)&pbFile[paShdrs[pEhdr->e_shstrndx].sh_offset];
    1938 
    19391936        if (   convertElfSectionsToSegDefsAndGrpDefs(pThis, &ElfStuff)
    19401937            && convertElfSymbolsToPubDefsAndExtDefs(pThis, &ElfStuff)
     
    36203617    {
    36213618        Elf64_Ehdr const *pEhdr     = (Elf64_Ehdr const *)pbFile;
    3622         Elf64_Shdr const *paShdrs   = (Elf64_Shdr const *)&pbFile[pEhdr->e_shoff];
    3623         const char       *pszStrTab = (const char *)&pbFile[paShdrs[pEhdr->e_shstrndx].sh_offset];
    36243619
    36253620        if (   convertMachOSectionsToSegDefsAndGrpDefs(pThis, &MachOStuff)
     
    45864581
    45874582    /* Begin and write the CV version signature. */
    4588     uint32_t const  cbMaxChunk = RT_ALIGN(OMF_MAX_RECORD_PAYLOAD - 1 - 16, 4); /* keep the data dword aligned */
    45894583    if (   !omfWriter_LEDataBegin(pThis, pOmfStuff->iSymbolsSeg, 0)
    45904584        || !omfWriter_LEDataAddU32(pThis, RTCVSYMBOLS_SIGNATURE_CV8))
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