aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/GC.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-22 01:11:55 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-13 05:29:52 +0200
commitc2de5f1989d2c7276af5548a4b6cc35ed50f5e16 (patch)
tree6003375f49b170e2d806ec4b4cd282ffba337729 /nx-X11/programs/Xserver/hw/nxagent/GC.c
parent021023202a2c96f37197cc64268003f4fb9e5ad5 (diff)
downloadnx-libs-c2de5f1989d2c7276af5548a4b6cc35ed50f5e16.tar.gz
nx-libs-c2de5f1989d2c7276af5548a4b6cc35ed50f5e16.tar.bz2
nx-libs-c2de5f1989d2c7276af5548a4b6cc35ed50f5e16.zip
hw/nxagent/NXmiexpose.c: Initialize all items of the newValues[] array.
Amends the following compiler warnings: ``` NXmiexpose.c:904:18: warning: ‘newValues[2].ptr’ may be used uninitialized in this function [-Wmaybe-uninitialized] gcval[i++].ptr = newValues[TILE].ptr; ^ NXmiexpose.c:914:24: warning: ‘newValues[1].val’ may be used uninitialized in this function [-Wmaybe-uninitialized] if ( pGC->fgPixel != newValues[FOREGROUND].val) { ^ ```
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/GC.c')
0 files changed, 0 insertions, 0 deletions