summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libostree/ostree-remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-remote.c b/src/libostree/ostree-remote.c
index 2b068e15..93c1a328 100644
--- a/src/libostree/ostree-remote.c
+++ b/src/libostree/ostree-remote.c
@@ -65,8 +65,8 @@ ostree_remote_new_dynamic (const gchar *name,
{
OstreeRemote *remote;
- g_return_val_if_fail (name != NULL && *name != '\0', NULL);
- g_return_val_if_fail (refspec_name == NULL || *refspec_name != '\0', NULL);
+ g_assert (name != NULL && *name != '\0');
+ g_assert (refspec_name == NULL || *refspec_name != '\0');
remote = g_slice_new0 (OstreeRemote);
remote->ref_count = 1;