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;
|
GOptionContext *context;
|
||||||
Display *xdpy;
|
Display *xdpy;
|
||||||
int screen;
|
int screen;
|
||||||
Window rootwin;
|
|
||||||
ClutterActor *group = NULL, *label, *stage, *tex;
|
ClutterActor *group = NULL, *label, *stage, *tex;
|
||||||
Pixmap pixmap;
|
Pixmap pixmap;
|
||||||
const ClutterColor gry = { 0x99, 0x99, 0x99, 0xFF };
|
const ClutterColor gry = { 0x99, 0x99, 0x99, 0xFF };
|
||||||
@ -272,7 +271,6 @@ test_pixmap_main (int argc, char **argv)
|
|||||||
pixmap = create_pixmap (&w, &h, &d);
|
pixmap = create_pixmap (&w, &h, &d);
|
||||||
|
|
||||||
screen = DefaultScreen(xdpy);
|
screen = DefaultScreen(xdpy);
|
||||||
rootwin = RootWindow(xdpy, screen);
|
|
||||||
win_remote = XCreateSimpleWindow (xdpy, DefaultRootWindow(xdpy),
|
win_remote = XCreateSimpleWindow (xdpy, DefaultRootWindow(xdpy),
|
||||||
0, 0, 200, 200,
|
0, 0, 200, 200,
|
||||||
0,
|
0,
|
||||||
|
@ -123,7 +123,6 @@ test_texture_async_main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
ClutterActor *stage;
|
ClutterActor *stage;
|
||||||
ClutterColor stage_color = { 0x12, 0x34, 0x56, 0xff };
|
ClutterColor stage_color = { 0x12, 0x34, 0x56, 0xff };
|
||||||
GError *error;
|
|
||||||
gchar *path;
|
gchar *path;
|
||||||
|
|
||||||
clutter_init (&argc, &argv);
|
clutter_init (&argc, &argv);
|
||||||
@ -137,8 +136,6 @@ test_texture_async_main (int argc, char *argv[])
|
|||||||
"button-press-event", G_CALLBACK (clutter_main_quit),
|
"button-press-event", G_CALLBACK (clutter_main_quit),
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
error = NULL;
|
|
||||||
|
|
||||||
path = (argc > 1)
|
path = (argc > 1)
|
||||||
? g_strdup (argv[1])
|
? g_strdup (argv[1])
|
||||||
: g_build_filename (TESTS_DATADIR, "redhand.png", NULL);
|
: g_build_filename (TESTS_DATADIR, "redhand.png", NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user