[tracker/rss-enclosures] libtracker-client: Fixed warning for for tracker_result_iterator_next()
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] libtracker-client: Fixed warning for for tracker_result_iterator_next()
- Date: Sat, 26 Jun 2010 23:27:40 +0000 (UTC)
commit 422ab81e3656b28f14e957889e2e5128f2f473c1
Author: Martyn Russell <martyn lanedo com>
Date: Wed Jun 23 10:09:23 2010 +0100
libtracker-client: Fixed warning for for tracker_result_iterator_next()
Was using g_return_if_fail() with no return value where one is expected
src/libtracker-client/tracker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index 0d426d5..d4d7c20 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -1990,7 +1990,7 @@ tracker_result_iterator_n_columns (TrackerResultIterator *iterator)
gboolean
tracker_result_iterator_next (TrackerResultIterator *iterator)
{
- g_return_if_fail (iterator != NULL);
+ g_return_val_if_fail (iterator != NULL, FALSE);
#ifdef HAVE_DBUS_FD_PASSING
int last_offset;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]