summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-03 09:08:01 +0200
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:36:42 +0100
commit7e3070fe317870eee4a21f7c4fbd720cef3ec3cb (patch)
tree4f269a4a84dc7b06ecf9d4cffd1a84c419ccdce6 /tests
parent4732eb4d68562bcab2e954a81a0dcc4442982648 (diff)
downloadgstreamer-plugins-bad-7e3070fe317870eee4a21f7c4fbd720cef3ec3cb.tar.gz
[466/906] tests: Fix variable unused but set compiler warning
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/clutter/clutteractortee.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/examples/clutter/clutteractortee.c b/tests/examples/clutter/clutteractortee.c
index 63c8960af..2fdab1f68 100644
--- a/tests/examples/clutter/clutteractortee.c
+++ b/tests/examples/clutter/clutteractortee.c
@@ -47,15 +47,12 @@ create_actor (GstGLClutterActor * actor)
{
static gint xpos = 0;
static gint ypos = 0;
- Display *disp;
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
"window", actor->win, "automatic-updates", TRUE, NULL);
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
actor->texture);
clutter_actor_set_position (actor->texture, xpos, ypos);
- disp = clutter_x11_get_default_display ();
-
if (xpos > (COLS - 1) * W) {
xpos = 0;
ypos += H + 1;