VirtualBox

Changeset 24678 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Nov 15, 2009 4:07:51 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54860
Message:

Misc: Shut up annoying gcc warnings on darwin.

Location:
trunk/src/VBox/Runtime/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h

    r21337 r24678  
    10261026    if (RT_SUCCESS(rc))
    10271027    {
    1028         RTLDRARCH enmArchImage;
     1028        RTLDRARCH enmArchImage = RTLDRARCH_INVALID; /* shut up gcc */
    10291029        rc = RTLDRELF_NAME(ValidateElfHeader)(&pModElf->Ehdr, pszLogName, cbRawImage, &enmArchImage);
    10301030        if (RT_SUCCESS(rc))
  • trunk/src/VBox/Runtime/common/string/base64.cpp

    r21337 r24678  
    252252     * Process input in groups of 4 input / 3 output chars.
    253253     */
    254     uint8_t     u8Trio[3];
     254    uint8_t     u8Trio[3] = { 0, 0, 0 }; /* shuts up gcc */
    255255    uint8_t    *pbData    = (uint8_t *)pvData;
    256256    uint8_t     u8        = BASE64_INVALID;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette