From b561dfdf478ef882bc18b89a0fe17f98950c5baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 9 Oct 2008 19:38:52 +0000 Subject: [PATCH] gst/deinterlace2/tvtime/tomsmocomp.c: Fix unused variable compiler warning when not building Original commit message from CVS: * gst/deinterlace2/tvtime/tomsmocomp.c: (gst_deinterlace_method_tomsmocomp_class_init): Fix unused variable compiler warning when not building X86 assembly. --- ChangeLog | 7 +++++++ gst/deinterlace2/tvtime/tomsmocomp.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index bf5cb7328f..113715b629 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-10-09 Sebastian Dröge + + * gst/deinterlace2/tvtime/tomsmocomp.c: + (gst_deinterlace_method_tomsmocomp_class_init): + Fix unused variable compiler warning when not building + X86 assembly. + 2008-10-09 Sebastian Dröge * gst/flv/gstflvdemux.c: (gst_flv_demux_loop): diff --git a/gst/deinterlace2/tvtime/tomsmocomp.c b/gst/deinterlace2/tvtime/tomsmocomp.c index 0565b6c707..64e78c5b9e 100644 --- a/gst/deinterlace2/tvtime/tomsmocomp.c +++ b/gst/deinterlace2/tvtime/tomsmocomp.c @@ -164,7 +164,9 @@ static void { GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass; +#ifdef BUILD_X86_ASM guint cpu_flags = oil_cpu_get_flags (); +#endif gobject_class->set_property = gst_deinterlace_method_tomsmocomp_set_property; gobject_class->get_property = gst_deinterlace_method_tomsmocomp_get_property;