VirtualBox

Ignore:
Timestamp:
Aug 5, 2016 8:39:08 PM (8 years ago)
Author:
vboxsync
Message:

GA/NT/Graphics: warnings

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVHWA.cpp

    r63058 r63061  
    199199    VBOXPEVENT pEvent = (VBOXPEVENT)pContext;
    200200    LONG oldState = pDev->vpAPI.VideoPortProcs.pfnSetEvent(pDev->vpAPI.pContext, pEvent);
    201     Assert(!oldState);
     201    Assert(!oldState); NOREF(oldState);
    202202}
    203203
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVRDP.cpp

    r62522 r63061  
    982982                       BRUSHOBJ  *pbo, POINTL *pptlBrushOrg, LINEATTRS *plineattrs, MIX mix)
    983983{
     984    RT_NOREF(pxo,  pptlBrushOrg);
    984985    PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
    985986
     
    10611062        BOOL bMore;
    10621063        VRDEORDERPOLYLINE order;
    1063         VRDEORDERPOINT ptStart;
     1064        /** @todo it is not immediately obvious how we're sure ptStart isn't used uninitialized. */
     1065        VRDEORDERPOINT ptStart = { 0, 0 }; /* Shut up MSC */
    10641066        VRDEORDERBOUNDS bounds;
    10651067
     
    10731075        do {
    10741076            POINTFIX *pptfx;
    1075             VRDEORDERPOINT pt;
     1077            /** @todo it is not immediately obvious how we're sure pt isn't used uninitialized. */
     1078            VRDEORDERPOINT pt = {0, 0}; /* Shut up MSC */
    10761079
    10771080            bMore = PATHOBJ_bEnum (ppo, &pd);
     
    11671170}
    11681171
    1169 void vrdpDrvFillPath(SURFOBJ *pso, PATHOBJ *ppo, CLIPOBJ *pco, BRUSHOBJ *pbo, POINTL *pptlBrushOrg,
    1170                      MIX mix, FLONG flOptions)
    1171 {
     1172void vrdpDrvFillPath(SURFOBJ *pso, PATHOBJ *ppo, CLIPOBJ *pco, BRUSHOBJ *pbo, POINTL *pptlBrushOrg, MIX mix, FLONG flOptions)
     1173{
     1174    RT_NOREF(pbo, pptlBrushOrg, mix, flOptions);
    11721175    PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
    11731176    vrdpReportDirtyPath(pDev, pco, ppo);
     
    11761179void vrdpDrvPaint(SURFOBJ *pso, CLIPOBJ *pco, BRUSHOBJ *pbo, POINTL *pptlBrushOrg, MIX mix)
    11771180{
     1181    RT_NOREF(pbo, pptlBrushOrg, mix);
    11781182    PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
    11791183    vrdpReportDirtyClip(pDev, pco, NULL);
    11801184}
    11811185
    1182 void vrdpDrvTextOut(SURFOBJ *pso, STROBJ *pstro, FONTOBJ *pfo, CLIPOBJ *pco,
    1183                     RECTL *prclExtra, RECTL *prclOpaque, BRUSHOBJ *pboFore,
    1184                     BRUSHOBJ *pboOpaque, POINTL *pptlOrg, MIX mix)
    1185 {
     1186void vrdpDrvTextOut(SURFOBJ *pso, STROBJ *pstro, FONTOBJ *pfo, CLIPOBJ *pco, RECTL *prclExtra, RECTL *prclOpaque,
     1187                    BRUSHOBJ *pboFore, BRUSHOBJ *pboOpaque, POINTL *pptlOrg, MIX mix)
     1188{
     1189    RT_NOREF(pptlOrg,  mix);
    11861190    PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
    11871191
     
    13241328
    13251329void vrdpDrvBitBlt(SURFOBJ *psoTrg, SURFOBJ *psoSrc, SURFOBJ *psoMask, CLIPOBJ *pco, XLATEOBJ *pxlo,
    1326                    RECTL *prclTrg, POINTL *pptlSrc, POINTL *pptlMask, BRUSHOBJ *pbo, POINTL *pptlBrush,
    1327                    ROP4 rop4)
    1328 {
     1330                   RECTL *prclTrg, POINTL *pptlSrc, POINTL *pptlMask, BRUSHOBJ *pbo, POINTL *pptlBrush, ROP4 rop4)
     1331{
     1332    RT_NOREF(psoMask, pxlo, pptlMask);
    13291333    PVBOXDISPDEV pDev = (PVBOXDISPDEV)psoTrg->dhpdev;
    13301334
     
    15401544
    15411545void vrdpDrvStretchBlt(SURFOBJ *psoDest, SURFOBJ *psoSrc, SURFOBJ *psoMask, CLIPOBJ *pco, XLATEOBJ *pxlo,
    1542                        COLORADJUSTMENT *pca, POINTL *pptlHTOrg, RECTL *prclDest, RECTL *prclSrc,
    1543                        POINTL *pptlMask, ULONG iMode)
    1544 {
     1546                       COLORADJUSTMENT *pca, POINTL *pptlHTOrg, RECTL *prclDest, RECTL *prclSrc, POINTL *pptlMask, ULONG iMode)
     1547{
     1548    RT_NOREF(psoSrc, psoMask, pxlo, pca, pptlHTOrg, prclSrc, pptlMask, iMode);
    15451549    PVBOXDISPDEV pDev = (PVBOXDISPDEV)psoDest->dhpdev;
    15461550    vrdpReportDirtyClip(pDev, pco, prclDest);
     
    15531557}
    15541558
    1555 BOOL vrdpDrvRealizeBrush(BRUSHOBJ *pbo, SURFOBJ *psoTarget, SURFOBJ *psoPattern, SURFOBJ *psoMask,
    1556                         XLATEOBJ *pxlo, ULONG iHatch)
    1557 {
     1559BOOL vrdpDrvRealizeBrush(BRUSHOBJ *pbo, SURFOBJ *psoTarget, SURFOBJ *psoPattern, SURFOBJ *psoMask, XLATEOBJ *pxlo, ULONG iHatch)
     1560{
     1561    RT_NOREF(psoMask, iHatch);
    15581562    BOOL bRc = FALSE;
    15591563
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