xserver-multidpi/xfixes
Cyril Brulebois ad0d0833d4 xfixes: Mark some variables as unused.
Calling Unwrap() is just a way of performing an assignment while keeping a
backup of the original value. In the CursorCloseScreen function, the backup
value doesn't seem to be useful, but Unwrap() is used anyway (probably to stay
in line with other functions). As a consequence, mark those variables as unused.

The following warnings go away accordingly:
|   CC     cursor.lo
| cursor.c: In function 'CursorCloseScreen':
| cursor.c:186:26: warning: variable 'display_proc' set but not used [-Wunused-but-set-variable]
| cursor.c:185:24: warning: variable 'close_proc' set but not used [-Wunused-but-set-variable]

Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
2011-06-16 00:44:01 +02:00
..
cursor.c xfixes: Mark some variables as unused. 2011-06-16 00:44:01 +02:00
Makefile.am Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
region.c xorg: remove unused pointer values all over the server 2011-04-04 15:41:13 +03:00
saveset.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
select.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfixes.c fixes: Add support for pointer barriers 2011-05-31 15:10:51 -04:00
xfixes.h fixes: Add support for pointer barriers 2011-05-31 15:10:51 -04:00
xfixesint.h fixes: Add support for pointer barriers 2011-05-31 15:10:51 -04:00