From: Daiki Ueno Date: Fri, 14 Jul 2017 08:14:14 +0000 (+0200) Subject: trust: Fix build error with -Werror=return-type X-Git-Tag: 0.23.8~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc1f7570968043ba732922f633c24474565d66c0;p=p11-kit trust: Fix build error with -Werror=return-type --- 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