[libgit2-glib] remote: return the right type
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] remote: return the right type
- Date: Sun, 18 Jan 2015 16:14:04 +0000 (UTC)
commit 7d0a7e4de5775a1e9f71a9f00f0e2ead66bbb8cb
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Jan 18 17:13:45 2015 +0100
remote: return the right type
libgit2-glib/ggit-remote.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-remote.c b/libgit2-glib/ggit-remote.c
index f55b10d..aa5e986 100644
--- a/libgit2-glib/ggit-remote.c
+++ b/libgit2-glib/ggit-remote.c
@@ -728,7 +728,7 @@ ggit_remote_set_fetch_specs (GgitRemote *remote,
gint ret;
git_strarray gspecs;
- g_return_val_if_fail (GGIT_IS_REMOTE (remote), NULL);
+ g_return_val_if_fail (GGIT_IS_REMOTE (remote), FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
ggit_utils_get_git_strarray_from_str_array (specs, &gspecs);
@@ -821,7 +821,7 @@ ggit_remote_set_push_specs (GgitRemote *remote,
gint ret;
git_strarray gspecs;
- g_return_val_if_fail (GGIT_IS_REMOTE (remote), NULL);
+ g_return_val_if_fail (GGIT_IS_REMOTE (remote), FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
ggit_utils_get_git_strarray_from_str_array (specs, &gspecs);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]