summaryrefslogtreecommitdiff
path: root/src/uxa
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-23 13:16:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-05-26 20:45:05 +0100
commit93b319cf9a355e8400b864046cdb4cfb56b657a0 (patch)
treef9cefe9355c70cdefdf67d91c4932878279385e7 /src/uxa
parente6ee0679374f8fc80cb34693f80affe6ea676ddb (diff)
uxa: Silence the compiler over a couple of unused variables
intel_driver.c: In function 'I830LeaveVT': intel_driver.c:1085:24: warning: unused variable 'intel' [-Wunused-variable] intel_screen_private *intel = intel_get_screen_private(scrn); ^ intel_driver.c: In function 'I830EnterVT': intel_driver.c:1102:24: warning: unused variable 'intel' [-Wunused-variable] intel_screen_private *intel = intel_get_screen_private(scrn); Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa')
-rw-r--r--src/uxa/intel_driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index 0a4fe2a2..654038c8 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -1048,7 +1048,6 @@ static void I830FreeScreen(FREE_SCREEN_ARGS_DECL)
static void I830LeaveVT(VT_FUNC_ARGS_DECL)
{
SCRN_INFO_PTR(arg);
- intel_screen_private *intel = intel_get_screen_private(scrn);
xf86RotateFreeShadow(scrn);
@@ -1065,7 +1064,6 @@ static void I830LeaveVT(VT_FUNC_ARGS_DECL)
static Bool I830EnterVT(VT_FUNC_ARGS_DECL)
{
SCRN_INFO_PTR(arg);
- intel_screen_private *intel = intel_get_screen_private(scrn);
if (intel_get_master(scrn)) {
xf86DrvMsg(scrn->scrnIndex, X_WARNING,