summaryrefslogtreecommitdiff
path: root/src/sna/sna_accel.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-18 11:09:23 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-18 11:09:23 +0100
commitbc77a466531fdbdd21e9354af567e5215a66edf9 (patch)
tree3f97525ad3f97c692157dfb4028cdf7f53ec2585 /src/sna/sna_accel.c
parentd1da2c71461798bb027a260ff8480b71ebffde26 (diff)
sna: Silence a couple of recent compiler warnings
sna_accel.c: In function 'sna_poly_fill_rect_extents': sna_accel.c:11438:11: warning: unused variable 'v' [-Wunused-variable] sna_blt.c: In function 'sna_blt_composite__convert': sna_blt.c:1712:3: warning: format '%s' expects a matching 'char *' argument [-Wformat] sna_blt.c:1738:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'CARD32' [-Wformat] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index cf82cc56..31a9d3db 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -11435,8 +11435,6 @@ sna_poly_fill_rect_extents(DrawablePtr drawable, GCPtr gc,
r++;
while (--n) {
- int32_t v;
-
if (r->width == 0 || r->height == 0)
goto slow;