[tracker/harmattan-pre-signal-updates: 1244/1380] libtracker-client: Fix declaration after statement



commit 44bc2471e648c5c5b39f4cddcc585e97ae8119c5
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 2196593..7e2f9d4 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]