Skip to content

Commit cca8987

Browse files
committed
cosmetic: silent compiler warnings in xbmc-xrandr
1 parent c662ad2 commit cca8987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xbmc-xrandr.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ crtc_can_use_transform (crtc_t *crtc, XTransform *transform)
909909
return True;
910910
return False;
911911
}
912-
#endif
913912

914913
/*
915914
* Report only rotations that are supported by all crtcs
@@ -936,6 +935,7 @@ output_rotations (output_t *output)
936935
}
937936
return rotation;
938937
}
938+
#endif
939939

940940
static Bool
941941
output_can_use_rotation (output_t *output, Rotation rotation)
@@ -2999,7 +2999,7 @@ main (int argc, char **argv)
29992999
Atom *props;
30003000
int j, k, nprop;
30013001
Bool *mode_shown;
3002-
Rotation rotations = output_rotations (output);
3002+
// Rotation rotations = output_rotations (output);
30033003

30043004
printf (" <output name=\"%s\" connected=\"%s\"", output_info->name, connection[output_info->connection]);
30053005
if (mode)

0 commit comments

Comments
 (0)