aboutsummaryrefslogtreecommitdiff
path: root/xbmc-xrandr.c
diff options
context:
space:
mode:
authorvdrfan <vdrfan-nospam-@xbmc.org>2012-08-01 19:36:26 +0200
committervdrfan <vdrfan-nospam-@xbmc.org>2012-08-01 19:36:51 +0200
commitcca89875aca4b15974730fea01f89535b81b97e3 (patch)
tree7d2e6f0924b5d2b72991e3b2c18e59a26d97b8ea /xbmc-xrandr.c
parentc662ad2b9e30c7456aa8ff124454a5866581a052 (diff)
cosmetic: silent compiler warnings in xbmc-xrandr
Diffstat (limited to 'xbmc-xrandr.c')
-rw-r--r--xbmc-xrandr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc-xrandr.c b/xbmc-xrandr.c
index b54b253845..3c686e2059 100644
--- a/xbmc-xrandr.c
+++ b/xbmc-xrandr.c
@@ -909,7 +909,6 @@ crtc_can_use_transform (crtc_t *crtc, XTransform *transform)
return True;
return False;
}
-#endif
/*
* Report only rotations that are supported by all crtcs
@@ -936,6 +935,7 @@ output_rotations (output_t *output)
}
return rotation;
}
+#endif
static Bool
output_can_use_rotation (output_t *output, Rotation rotation)
@@ -2999,7 +2999,7 @@ main (int argc, char **argv)
Atom *props;
int j, k, nprop;
Bool *mode_shown;
- Rotation rotations = output_rotations (output);
+// Rotation rotations = output_rotations (output);
printf (" <output name=\"%s\" connected=\"%s\"", output_info->name, connection[output_info->connection]);
if (mode)