diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/memdebug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index d03faf32a..1eeb5c93e 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -255,5 +255,8 @@ int curl_fclose(FILE *file, int line, const char *source) #else #ifdef VMS int VOID_VAR_MEMDEBUG; -#endif +#else +/* we provide a fake do-nothing function here to avoid compiler warnings */ +void curl_memdebug(void) {} +#endif /* VMS */ #endif /* CURLDEBUG */ |