VirtualBox

Changeset 63474 in vbox


Ignore:
Timestamp:
Aug 15, 2016 1:07:30 PM (8 years ago)
Author:
vboxsync
Message:

build fix for gcc on Ubuntu

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/shaderlib/libWineStub/debug.c

    r62950 r63474  
    219219        "    turns on all messages except warning heap messages\n"
    220220        "Available message classes: err, warn, fixme, trace\n";
    221     write( 2, usage, sizeof(usage) - 1 );
     221    int res = write( 2, usage, sizeof(usage) - 1 );
     222    NOREF(res);
    222223    exit(1);
    223224}
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp

    r63463 r63474  
    643643    }
    644644#else
    645     (void)write(2, pch, cch);
     645    int res = write(2, pch, cch);
     646    NOREF(res);
    646647#endif
    647648}
     
    19391940    /* This is the preferred one, full control no questions about semantics.
    19401941       PORTME: If this isn't work, try join one of two other gangs above. */
    1941     setresgid(g_gid, g_gid, g_gid);
    1942     setresuid(g_uid, g_uid, g_uid);
     1942    int res = setresgid(g_gid, g_gid, g_gid);
     1943    NOREF(res);
     1944    res = setresuid(g_uid, g_uid, g_uid);
     1945    NOREF(res);
    19431946    if (getresuid(&ruid, &euid, &suid) != 0)
    19441947    {
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