videomodule: fix compiler warning
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 19 Dec 2011 13:09:42 +0000 (13:09 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 19 Dec 2011 13:09:42 +0000 (13:09 +0000)
videomodule.c:43:21: error: variable 'gst' set but not used

gst/videomodule.c

index 9308a15..ebf677f 100644 (file)
@@ -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 ();