summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-deployment.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/ostree-deployment.c')
-rw-r--r--src/libostree/ostree-deployment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libostree/ostree-deployment.c b/src/libostree/ostree-deployment.c
index 558434de..6397d786 100644
--- a/src/libostree/ostree-deployment.c
+++ b/src/libostree/ostree-deployment.c
@@ -374,9 +374,9 @@ ostree_deployment_new (int index,
OstreeDeployment *self;
/* index may be -1 */
- g_return_val_if_fail (osname != NULL, NULL);
- g_return_val_if_fail (csum != NULL, NULL);
- g_return_val_if_fail (deployserial >= 0, NULL);
+ g_assert (osname != NULL);
+ g_assert (csum != NULL);
+ g_assert (deployserial >= 0);
/* We can have "disconnected" deployments that don't have a
bootcsum/serial */