From ae42e15f211feb8625450e5dcc899ae29d885ba7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 9 Feb 2019 21:30:06 +0100 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- algorithm_output_size.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'algorithm_output_size.c') diff --git a/algorithm_output_size.c b/algorithm_output_size.c index 9089aa4..2824b55 100644 --- a/algorithm_output_size.c +++ b/algorithm_output_size.c @@ -19,6 +19,7 @@ libsha2_algorithm_output_size(enum libsha2_algorithm algorithm) case LIBSHA2_512_224: return 28; case LIBSHA2_512_256: return 32; default: - return errno = EINVAL, 0; + errno = EINVAL; + return 0; } } -- cgit v1.2.3-70-g09d2