Some compilers warn on completely empty source files, we provide a blank

one to prevent that.
This commit is contained in:
Daniel Stenberg 2004-02-20 16:22:47 +00:00
parent 2ebc821558
commit 44995d6877
1 changed files with 4 additions and 1 deletions

View File

@ -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 */