From 87ff77386cc502a0beed6bd1e1398c449e607e9f Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 14 Apr 2009 17:13:02 +0100 Subject: [tests] Remove compiler warnings The tests have some unused variables that will make gcc whine. --- examples/gtk-clutter-multistage.c | 6 +----- examples/gtk-clutter-test.c | 2 +- examples/gtk-clutter-viewport.c | 3 --- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/examples/gtk-clutter-multistage.c b/examples/gtk-clutter-multistage.c index e97da88..95058a7 100644 --- a/examples/gtk-clutter-multistage.c +++ b/examples/gtk-clutter-multistage.c @@ -6,13 +6,9 @@ int main (int argc, char *argv[]) { - ClutterTimeline *timeline; ClutterActor *stage1, *stage2, *tex1, *tex2; - ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff }; GtkWidget *window, *clutter1, *clutter2; - GtkWidget *label, *button, *vbox; - GdkPixbuf *pixbuf; - gint i; + GtkWidget *vbox; ClutterColor col1 = { 0xff, 0xff, 0xff, 0xff }; ClutterColor col2 = { 0, 0, 0, 0xff }; diff --git a/examples/gtk-clutter-test.c b/examples/gtk-clutter-test.c index 48f44eb..5b7f025 100644 --- a/examples/gtk-clutter-test.c +++ b/examples/gtk-clutter-test.c @@ -125,7 +125,7 @@ main (int argc, char *argv[]) ClutterTimeline *timeline; ClutterActor *stage; ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff }; - GtkWidget *window, *clutter, *socket_box; + GtkWidget *window, *clutter; GtkWidget *label, *button, *vbox; GdkPixbuf *pixbuf; SuperOH *oh; diff --git a/examples/gtk-clutter-viewport.c b/examples/gtk-clutter-viewport.c index 70a8df6..0125b41 100644 --- a/examples/gtk-clutter-viewport.c +++ b/examples/gtk-clutter-viewport.c @@ -19,14 +19,11 @@ on_load_finished (ClutterTexture *texture, int main (int argc, char *argv[]) { - ClutterTimeline *timeline; ClutterActor *stage, *viewport, *tex; ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff }; GtkWidget *window, *embed; GtkWidget *table, *scrollbar; GtkAdjustment *h_adjustment, *v_adjustment; - gint i; - ClutterColor col2 = { 0, }; g_thread_init (NULL); gdk_threads_init (); -- cgit v1.2.1