wimlib_set_print_errors(): Fix return value
authorEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 18:45:11 +0000 (12:45 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 18:45:11 +0000 (12:45 -0600)
src/util.c

index 3dbb5cdca7260f205997a2c936fcaf437c52dccc..5509a434413386a2383508d3f9ee9f9a79b51298 100644 (file)
@@ -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
 }