VirtualBox

Ignore:
Timestamp:
Jun 3, 2015 8:48:19 AM (10 years ago)
Author:
vboxsync
Message:

Additions/x11: unused variables

Location:
trunk/src/VBox/Additions/x11/vboxvideo
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/getmode.c

    r55393 r56211  
    152152{
    153153    VBOXPtr pVBox = VBOXGetRec(pScrn);
    154     DisplayModePtr pMode;
    155154    unsigned i;
    156155
     
    204203    size_t cPropertyElements, cDummy;
    205204    int32_t *paModeHints,  *pfCursorCapabilities;
    206     int rc;
    207205    unsigned i;
    208206    bool fChanged;
  • trunk/src/VBox/Additions/x11/vboxvideo/helpers.c

    r55393 r56211  
    8080{
    8181    Atom property_name;
    82     int i;
    8382
    8483    property_name = MakeAtom(pszName, strlen(pszName), TRUE);
  • trunk/src/VBox/Additions/x11/vboxvideo/pointer.c

    r55401 r56211  
    229229    size_t sizeRequest, sizeRgba, sizeMask, srcPitch, dstPitch;
    230230    CARD32 fc, bc, *cp;
    231     int rc, scrnIndex = infoPtr->pScrn->scrnIndex;
     231    int scrnIndex = infoPtr->pScrn->scrnIndex;
    232232    struct vboxCursorImage *pImage;
    233233
     
    360360{
    361361    VBOXPtr pVBox;
    362     VMMDevReqMousePointer *reqp;
    363362    CursorBitsPtr bitsp;
    364363    unsigned short w, h;
     
    371370    uint32_t fFlags =   VBOX_MOUSE_POINTER_VISIBLE | VBOX_MOUSE_POINTER_SHAPE
    372371                      | VBOX_MOUSE_POINTER_ALPHA;
    373     int rc;
    374372
    375373    pVBox = pScrn->driverPrivate;
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r55968 r56211  
    264264    int cbLine = adjustedWidth * pScrn->bitsPerPixel / 8;
    265265    PixmapPtr pPixmap;
    266     int rc;
    267266
    268267    TRACE_LOG("width=%d, height=%d\n", width, height);
     
    559558vbox_output_get_modes (xf86OutputPtr output)
    560559{
    561     unsigned i, cIndex = 0;
     560    unsigned cIndex = 0;
    562561    DisplayModePtr pModes = NULL, pMode;
    563562    ScrnInfoPtr pScrn = output->scrn;
     
    565564
    566565    TRACE_ENTRY();
    567     uint32_t x, y, iScreen;
    568     iScreen = (uintptr_t)output->driver_private;
     566    uint32_t iScreen = (uintptr_t)output->driver_private;
    569567    pMode = vbox_output_add_mode(pVBox, &pModes, NULL,
    570568                                 RT_CLAMP(pVBox->pScreens[iScreen].aPreferredSize.cx, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MAX_VIRTUAL),
     
    824822    Gamma gzeros = {0.0, 0.0, 0.0};
    825823    rgb rzeros = {0, 0, 0};
    826     unsigned DispiId;
    827824
    828825    TRACE_ENTRY();
     
    12021199    VBOXPtr pVBox = VBOXGetRec(pScrn);
    12031200    VisualPtr visual;
    1204     unsigned flags;
    12051201
    12061202    TRACE_ENTRY();
     
    15001496static Bool VBOXSwitchMode(ScrnInfoPtr pScrn, DisplayModePtr pMode)
    15011497{
    1502     VBOXPtr pVBox;
    15031498    Bool rc = TRUE;
    15041499
  • trunk/src/VBox/Additions/x11/vboxvideo/vbva.c

    r55401 r56211  
    240240vboxDisableVbva(ScrnInfoPtr pScrn)
    241241{
    242     int rc;
    243242    unsigned i;
    244243    VBOXPtr pVBox = pScrn->driverPrivate;
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