Some compilers warn on completely empty source files, we provide a blank
one to prevent that.
This commit is contained in:
@@ -255,5 +255,8 @@ int curl_fclose(FILE *file, int line, const char *source)
|
|||||||
#else
|
#else
|
||||||
#ifdef VMS
|
#ifdef VMS
|
||||||
int VOID_VAR_MEMDEBUG;
|
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 */
|
#endif /* CURLDEBUG */
|
||||||
|
|||||||
Reference in New Issue
Block a user