diff options
author | Keith Packard <keithp@keithp.com> | 2015-07-04 01:22:02 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2015-07-04 02:20:17 +0200 |
commit | 558e45c1516f66d8084215b319d214f94faf09bc (patch) | |
tree | 6bc1a9aa735c060f3d95e50c46a517a2a85ff2ea /nxcomp/CreateGC.h | |
parent | ab58e5781d4e64169b8f6931bf7535cbcf439573 (diff) | |
download | nx-libs-558e45c1516f66d8084215b319d214f94faf09bc.tar.gz nx-libs-558e45c1516f66d8084215b319d214f94faf09bc.tar.bz2 nx-libs-558e45c1516f66d8084215b319d214f94faf09bc.zip |
nx-X11: Backport: randr: Clean up compiler warnings about unused and shadowing variables
set but not used variables
shadowing a previous local
A hidden problem was that the VERIFY_RR_* macros define local 'rc'
variables, any other local definitions for those would be shadowed and
generate warnings from gcc. I've renamed the other locals 'ret'
instead of 'rc'.
Signed-off-by: Keith Packard <keithp@keithp.com>
Backported from Arctica GH 3.6.x branch.
v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
Diffstat (limited to 'nxcomp/CreateGC.h')
0 files changed, 0 insertions, 0 deletions