summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-12-19 13:09:42 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-12-19 13:09:42 +0000
commitb871bd0a9e7d2b771a437ff6d7376fbd3a9751a2 (patch)
treedbe40627a2a88cd5dc9fbca2a050011fdd32f774
parent7f5d2d267d0ed4767c3971b0f896002fcac56e99 (diff)
videomodule: fix compiler warning
videomodule.c:43:21: error: variable 'gst' set but not used
-rw-r--r--gst/videomodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/videomodule.c b/gst/videomodule.c
index 9308a15..ebf677f 100644
--- a/gst/videomodule.c
+++ b/gst/videomodule.c
@@ -40,7 +40,8 @@ GST_DEBUG_CATEGORY (pygst_debug); /* for python code */
DL_EXPORT (void)
initvideo (void)
{
- PyObject *m, *d, *gst;
+ PyObject *gst G_GNUC_UNUSED;
+ PyObject *m, *d;
init_pygobject ();
gst = pygst_init ();