From 3c25fcfe49865bda639447b9dee8369171f77606 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 19 Feb 2011 16:46:44 +0000 Subject: [PATCH] tests: Remove unused variables --- tests/interactive/test-pixmap.c | 2 -- tests/interactive/test-texture-async.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/tests/interactive/test-pixmap.c b/tests/interactive/test-pixmap.c index 20585809f..3e3ea964c 100644 --- a/tests/interactive/test-pixmap.c +++ b/tests/interactive/test-pixmap.c @@ -247,7 +247,6 @@ test_pixmap_main (int argc, char **argv) GOptionContext *context; Display *xdpy; int screen; - Window rootwin; ClutterActor *group = NULL, *label, *stage, *tex; Pixmap pixmap; const ClutterColor gry = { 0x99, 0x99, 0x99, 0xFF }; @@ -272,7 +271,6 @@ test_pixmap_main (int argc, char **argv) pixmap = create_pixmap (&w, &h, &d); screen = DefaultScreen(xdpy); - rootwin = RootWindow(xdpy, screen); win_remote = XCreateSimpleWindow (xdpy, DefaultRootWindow(xdpy), 0, 0, 200, 200, 0, diff --git a/tests/interactive/test-texture-async.c b/tests/interactive/test-texture-async.c index 83270d373..9ea0a2071 100644 --- a/tests/interactive/test-texture-async.c +++ b/tests/interactive/test-texture-async.c @@ -123,7 +123,6 @@ test_texture_async_main (int argc, char *argv[]) { ClutterActor *stage; ClutterColor stage_color = { 0x12, 0x34, 0x56, 0xff }; - GError *error; gchar *path; clutter_init (&argc, &argv); @@ -137,8 +136,6 @@ test_texture_async_main (int argc, char *argv[]) "button-press-event", G_CALLBACK (clutter_main_quit), NULL); - error = NULL; - path = (argc > 1) ? g_strdup (argv[1]) : g_build_filename (TESTS_DATADIR, "redhand.png", NULL);