tests: Remove unused variables
authorEmmanuele Bassi <ebassi@linux.intel.com>
Sat, 19 Feb 2011 16:46:44 +0000 (16:46 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Sat, 19 Feb 2011 16:47:20 +0000 (16:47 +0000)
tests/interactive/test-pixmap.c
tests/interactive/test-texture-async.c

index 2058580..3e3ea96 100644 (file)
@@ -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,
index 83270d3..9ea0a20 100644 (file)
@@ -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);