[tracker] libtracker-db, journal: Remove unreachable code



commit 267f28ac48b4410fdfa4561c38cbe891271d2066
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Thu Jul 8 09:22:00 2010 +0200

    libtracker-db, journal: Remove unreachable code

 src/libtracker-db/tracker-db-journal.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-journal.c b/src/libtracker-db/tracker-db-journal.c
index 25cbd2b..70e8358 100644
--- a/src/libtracker-db/tracker-db-journal.c
+++ b/src/libtracker-db/tracker-db-journal.c
@@ -1083,10 +1083,6 @@ tracker_db_journal_reader_next (GError **error)
 		reader.amount_of_triples--;
 		return TRUE;
 	}
-
-	g_set_error (error, TRACKER_DB_JOURNAL_ERROR, 0, "Unknown reason");
-
-	return FALSE;
 }
 
 gint64



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