Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

cosmetic: silent compiler warnings in xbmc-xrandr

  • Loading branch information...
commit cca89875aca4b15974730fea01f89535b81b97e3 1 parent c662ad2
authored August 01, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  xbmc-xrandr.c
4  xbmc-xrandr.c
@@ -909,7 +909,6 @@ crtc_can_use_transform (crtc_t *crtc, XTransform *transform)
909 909
 	return True;
910 910
     return False;
911 911
 }
912  
-#endif
913 912
 
914 913
 /*
915 914
  * Report only rotations that are supported by all crtcs
@@ -936,6 +935,7 @@ output_rotations (output_t *output)
936 935
     }
937 936
     return rotation;
938 937
 }
  938
+#endif
939 939
 
940 940
 static Bool
941 941
 output_can_use_rotation (output_t *output, Rotation rotation)
@@ -2999,7 +2999,7 @@ main (int argc, char **argv)
2999 2999
 	    Atom	    *props;
3000 3000
 	    int		    j, k, nprop;
3001 3001
 	    Bool	    *mode_shown;
3002  
-	    Rotation	    rotations = output_rotations (output);
  3002
+//	    Rotation	    rotations = output_rotations (output);
3003 3003
 
3004 3004
 	    printf ("  <output name=\"%s\" connected=\"%s\"", output_info->name, connection[output_info->connection]);
3005 3005
 	    if (mode)

0 notes on commit cca8987

Please sign in to comment.
Something went wrong with that request. Please try again.