]> wimlib.net Git - wimlib/blobdiff - src/util.c
Fix some compiler warnings
[wimlib] / src / util.c
index 690fd4d2496095879463dbb8cbad81b239437f3a..bdd0a294dc7655ab28a571e2e92f47928d9bd6fd 100644 (file)
@@ -219,6 +219,7 @@ WIMLIBAPI int wimlib_set_memory_allocator(void *(*malloc_func)(size_t),
 
        xml_set_memory_allocator(wimlib_malloc_func, wimlib_free_func, 
                                 wimlib_realloc_func);
+       return 0;
 #else
        ERROR("Cannot set custom memory allocator functions:\n");
        ERROR("wimlib was compiled with the "