[tracker] tracker-extract-gstreamer: Fix compile warning



commit e5970f47ef39ddf083816f0c15ee6f0a4594001b
Author: Sam Thursfield <samthursfield codethink co uk>
Date:   Fri Aug 12 19:09:02 2011 +0100

    tracker-extract-gstreamer: Fix compile warning
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656419

 src/tracker-extract/tracker-extract-gstreamer.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index e3b2413..fc362c0 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -256,15 +256,13 @@ add_date_time_gst_tag (TrackerSparqlBuilder  *metadata,
 
 		gst_date_time_unref (date_time);
 	} else if (gst_tag_list_get_date (tag_list, tag_date, &date)) {
-		gboolean ret;
+		gboolean ret = FALSE;
 
 		if (date && g_date_valid (date)) {
 			if (date->julian)
 				ret = g_date_valid_julian (date->julian_days);
 			if (date->dmy)
 				ret = g_date_valid_dmy (date->day, date->month, date->year);
-		} else {
-			ret = FALSE;
 		}
 
 		if (ret) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]