[cairo] [PATCH 1/2] xlib: Remove unused variable

Uli Schlachter psychon at znc.in
Tue Mar 7 10:21:30 UTC 2017


This constant seems to be unused since commit af9fbd176b145f042408ef
from 2011.

Signed-off-by: Uli Schlachter <psychon at znc.in>
---
 src/cairo-xlib-surface.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 555c1fe2e..84e7c8e49 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -189,12 +189,6 @@ _cairo_surface_is_xlib (cairo_surface_t *surface);
 
 #define CAIRO_ASSUME_PIXMAP	20
 
-static const XTransform identity = { {
-    { 1 << 16, 0x00000, 0x00000 },
-    { 0x00000, 1 << 16, 0x00000 },
-    { 0x00000, 0x00000, 1 << 16 },
-} };
-
 static Visual *
 _visual_for_xrender_format(Screen *screen,
 			   XRenderPictFormat *xrender_format)
-- 
2.11.0



More information about the cairo mailing list