mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
Some compilers warn on completely empty source files, we provide a blank
one to prevent that.
This commit is contained in:
parent
2ebc821558
commit
44995d6877
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user