[libgit2-glib] Fix return value for ggit_index_entry_is_conflict
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Fix return value for ggit_index_entry_is_conflict
- Date: Fri, 14 Aug 2015 07:13:26 +0000 (UTC)
commit 638d16cbdf70f296cf64dd8c00349297f4c5272e
Author: Ting-Wei Lan <lantw src gnome org>
Date: Fri Aug 14 15:01:59 2015 +0800
Fix return value for ggit_index_entry_is_conflict
https://bugzilla.gnome.org/show_bug.cgi?id=753606
libgit2-glib/ggit-index-entry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-index-entry.c b/libgit2-glib/ggit-index-entry.c
index eeb40f8..22b77c9 100644
--- a/libgit2-glib/ggit-index-entry.c
+++ b/libgit2-glib/ggit-index-entry.c
@@ -824,7 +824,7 @@ ggit_index_entry_set_commit (GgitIndexEntry *entry,
gboolean
ggit_index_entry_is_conflict (GgitIndexEntry *entry)
{
- g_return_if_fail (entry != NULL);
+ g_return_val_if_fail (entry != NULL, FALSE);
return git_index_entry_is_conflict (entry->entry);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]