summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2017-07-14 10:14:14 +0200
committerDaiki Ueno <ueno@gnu.org>2017-07-14 10:30:56 +0200
commitbc1f7570968043ba732922f633c24474565d66c0 (patch)
tree4ed26b08dd55808c8ef15becc132e866c7e1e5cc
parentbc2f4c69bd319313dab9d85a6f8d622501593b0a (diff)
trust: Fix build error with -Werror=return-type
-rw-r--r--trust/save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/save.c b/trust/save.c
index 57544e8..abff864 100644
--- a/trust/save.c
+++ b/trust/save.c
@@ -420,7 +420,7 @@ make_unique_name (const char *bare,
return p11_buffer_steal (&buf, NULL);
}
- assert_not_reached ();
+ return_val_if_reached (NULL);
}
static int