winks: fix unused variables warnings

This commit is contained in:
Andoni Morales Alastruey 2012-08-07 18:21:49 +02:00 committed by Sebastian Dröge
parent 4120cfa43f
commit 64f77b2f84
2 changed files with 1 additions and 6 deletions

View file

@ -99,10 +99,7 @@ gst_ks_clock_init (GstKsClock * self, GstKsClockClass * gclass)
static void
gst_ks_clock_dispose (GObject * object)
{
GstKsClock *self = GST_KS_CLOCK (object);
GstKsClockPrivate *priv = GST_KS_CLOCK_GET_PRIVATE (self);
g_assert (!priv->open);
g_assert (!GST_KS_CLOCK_GET_PRIVATE (GST_KS_CLOCK (object))->open);
G_OBJECT_CLASS (parent_class)->dispose (object);
}
@ -126,7 +123,6 @@ gboolean
gst_ks_clock_open (GstKsClock * self)
{
GstKsClockPrivate *priv = GST_KS_CLOCK_GET_PRIVATE (self);
gboolean ret = FALSE;
GList *devices;
KsDeviceEntry *device;
KSSTATE state;

View file

@ -365,7 +365,6 @@ gst_ks_video_src_reset (GstKsVideoSrc * self)
static void
gst_ks_video_src_apply_driver_quirks (GstKsVideoSrc * self)
{
GstKsVideoSrcPrivate *priv = GST_KS_VIDEO_SRC_GET_PRIVATE (self);
HMODULE mod;
/*