From 6768d82ea2219d99664920a7470f8d83ed906848 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 18 Jul 2017 03:49:58 +0200 Subject: [PATCH] Add missing return value in set_misuse_handler() --- src/libsodium/sodium/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsodium/sodium/core.c b/src/libsodium/sodium/core.c index d550e079..b6e74c99 100644 --- a/src/libsodium/sodium/core.c +++ b/src/libsodium/sodium/core.c @@ -197,4 +197,5 @@ sodium_set_misuse_handler(void (*handler)(const char *err)) if (sodium_crit_leave() != 0) { return -1; /* LCOV_EXCL_LINE */ } + return 0; }