tracker r2366 - in trunk: . src/libtracker-common src/tracker-extract



Author: carlosg
Date: Tue Oct 14 09:44:15 2008
New Revision: 2366
URL: http://svn.gnome.org/viewvc/tracker?rev=2366&view=rev

Log:
2008-10-14  Carlos Garnacho  <carlos imendio com>

        * src/libtracker-common/tracker-file-utils.c
        (path_has_write_access_or_was_created):
        * src/libtracker-common/tracker-ontology.c
        (tracker_ontology_get_field_names_registered):
        * src/tracker-extract/tracker-extract-mp3.c (get_id3v24_tags): Fix
        compiler warnings.


Modified:
   trunk/ChangeLog
   trunk/src/libtracker-common/tracker-file-utils.c
   trunk/src/libtracker-common/tracker-ontology.c
   trunk/src/tracker-extract/tracker-extract-mp3.c

Modified: trunk/src/libtracker-common/tracker-file-utils.c
==============================================================================
--- trunk/src/libtracker-common/tracker-file-utils.c	(original)
+++ trunk/src/libtracker-common/tracker-file-utils.c	Tue Oct 14 09:44:15 2008
@@ -763,7 +763,7 @@
 path_has_write_access_or_was_created (const gchar *path)
 {
 	gboolean writable;
-	gboolean exists;
+	gboolean exists = FALSE;
 
 	writable = path_has_write_access (path, &exists);
 	if (exists) {

Modified: trunk/src/libtracker-common/tracker-ontology.c
==============================================================================
--- trunk/src/libtracker-common/tracker-ontology.c	(original)
+++ trunk/src/libtracker-common/tracker-ontology.c	Tue Oct 14 09:44:15 2008
@@ -410,7 +410,7 @@
 	GList	       *fields;
 	GList	       *l;
 	GSList	       *names;
-	const gchar    *prefix;
+	const gchar    *prefix = NULL;
 	const gchar    *parent_prefix;
 
 	parent_prefix = NULL;

Modified: trunk/src/tracker-extract/tracker-extract-mp3.c
==============================================================================
--- trunk/src/tracker-extract/tracker-extract-mp3.c	(original)
+++ trunk/src/tracker-extract/tracker-extract-mp3.c	Tue Oct 14 09:44:15 2008
@@ -607,8 +607,6 @@
 			if (strncmp (tmap[i].text, (const char*) &data[pos], 4) == 0) {
 				gchar * word;
 
-				const gchar *end;
-
 				if ((flags & 0x20) > 0) {
 					/* The "group" identifier, skip a byte */
 					pos++;



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