[tracker] libtracker-client: Fix declaration after statement



commit 77ca161641d04d65f693ab3bf43fe8b32394200c
Author: Jürg Billeter <j bitron ch>
Date:   Fri Sep 3 17:07:22 2010 +0200

    libtracker-client: Fix declaration after statement

 src/libtracker-client/tracker.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index 0836606..1e7fd9d 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -1920,10 +1920,13 @@ tracker_result_iterator_n_columns (TrackerResultIterator *iterator)
 gboolean
 tracker_result_iterator_next (TrackerResultIterator *iterator)
 {
+#ifdef HAVE_DBUS_FD_PASSING
+	int last_offset;
+#endif
+
 	g_return_val_if_fail (iterator != NULL, FALSE);
 
 #ifdef HAVE_DBUS_FD_PASSING
-	int last_offset;
 
 	if (iterator->buffer_index >= iterator->buffer_size) {
 		return FALSE;



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