[tracker] Fix "Non-void function should return a value"
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Fix "Non-void function should return a value"
- Date: Wed, 30 Jul 2014 10:18:17 +0000 (UTC)
commit 064bb7eff921db5512c03b4ecaf967d6a0775579
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Jul 30 11:27:16 2014 +0800
Fix "Non-void function should return a value"
https://bugzilla.gnome.org/show_bug.cgi?id=733948
src/libtracker-extract/tracker-extract-info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-extract-info.c b/src/libtracker-extract/tracker-extract-info.c
index 63d77c6..c68c65a 100644
--- a/src/libtracker-extract/tracker-extract-info.c
+++ b/src/libtracker-extract/tracker-extract-info.c
@@ -322,7 +322,7 @@ tracker_extract_info_set_where_clause (TrackerExtractInfo *info,
MediaArtProcess *
tracker_extract_info_get_media_art_process (TrackerExtractInfo *info)
{
- g_return_if_fail (info != NULL);
+ g_return_val_if_fail (info != NULL, NULL);
return info->media_art_process;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]