From: Emmanuele Bassi Date: Sat, 19 Feb 2011 16:46:44 +0000 (+0000) Subject: tests: Remove unused variables X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c25fcfe49865bda639447b9dee8369171f77606;p=profile%2Fivi%2Fclutter.git tests: Remove unused variables --- diff --git a/tests/interactive/test-pixmap.c b/tests/interactive/test-pixmap.c index 2058580..3e3ea96 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 83270d3..9ea0a20 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);