summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-08-31 18:29:40 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-09-02 12:00:29 +0200
commit6fd174b4233f92fd4a2f490728cbff824c8d404a (patch)
treeee7577d0beb1dff6f831ca381fd55d67a7b5a8d7
parentd66d9cd777c362e2f99a41aa77bbe3428cf0c60d (diff)
perf: Silence gcc warning
Silence: dragon.c: In function 'do_dragon_solid': dragon.c:167: warning: unused variable 'r'
-rw-r--r--perf/micro/dragon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/micro/dragon.c b/perf/micro/dragon.c
index 4b16f38d..cd5ad9bf 100644
--- a/perf/micro/dragon.c
+++ b/perf/micro/dragon.c
@@ -164,7 +164,7 @@ do_dragon (cairo_t *cr, int width, int height, int loops)
static cairo_perf_ticks_t
do_dragon_solid (cairo_t *cr, int width, int height, int loops)
{
- double cx, cy, r;
+ double cx, cy;
cx = cy = .5 * MAX (width, height);