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>
Showing
Please
register
or
sign in
to comment