VirtualBox

Changeset 55297 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 16, 2015 7:50:18 AM (10 years ago)
Author:
vboxsync
Message:

two gcc warnings

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r54789 r55297  
    31563156#ifdef VMSVGA3D_OGL_WITH_SHARED_CTX
    31573157    if (idPrevCtx < pState->cContexts && pState->papContexts[idPrevCtx]->id == idPrevCtx)
     3158    {
    31583159        VMSVGA3D_SET_CURRENT_CONTEXT(pState, pState->papContexts[idPrevCtx]);
     3160    }
    31593161#endif
    31603162    return VINF_SUCCESS;
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.cpp

    r54765 r55297  
    341341    case SVGA3D_A16B16G16R16:
    342342        return 8;
    343     }
    344     AssertFailedReturn(4);
     343
     344    default:
     345        AssertFailedReturn(4);
     346    }
    345347}
    346348
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