X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Futil.c;h=bdd0a294dc7655ab28a571e2e92f47928d9bd6fd;hb=53d4db68e30bf45b983c59f91e5e2a3e039e1426;hp=690fd4d2496095879463dbb8cbad81b239437f3a;hpb=dcfbcf5cce40b473afb8303245c035f37d72ac9b;p=wimlib diff --git a/src/util.c b/src/util.c index 690fd4d2..bdd0a294 100644 --- a/src/util.c +++ b/src/util.c @@ -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 "