glx: fix compile warnings
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 28 Mar 2012 02:09:55 +0000 (10:09 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 9 Apr 2012 01:59:10 +0000 (09:59 +0800)
commit8b5b3b93d73d80a54d12d0d7a6a74fb97b27bf8a
tree12db635fed51d92fd23dbb608a8e4cc800b189b4
parent7bb1c784a30124a7259a2cc30356f7d88d27a767
glx: fix compile warnings

Fix 'set but not used' warnings; gl_version, gl_versions_profiles and
glx_extensions variables are used just only HAVE_XCB_GLX_CREATE_CONTEXT
is defined. Thus those warnings are shown when that macro isn't defined.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
src/glx/clientinfo.c