From 7b3a9d7b581fbe4a9528212ac5802f08dc542ec0 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 24 Nov 2012 12:45:11 -0600 Subject: [PATCH] wimlib_set_print_errors(): Fix return value --- src/util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util.c b/src/util.c index 3dbb5cdc..5509a434 100644 --- a/src/util.c +++ b/src/util.c @@ -102,6 +102,8 @@ WIMLIBAPI int wimlib_set_print_errors(bool show_error_messages) #else if (show_error_messages) return WIMLIB_ERR_UNSUPPORTED; + else + return 0; #endif } -- 2.43.0