tests: Remove unused variables
This commit is contained in:
parent
b505c022c4
commit
3c25fcfe49
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user