projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ebc821
)
Some compilers warn on completely empty source files, we provide a blank
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 20 Feb 2004 16:22:47 +0000
(16:22 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 20 Feb 2004 16:22:47 +0000
(16:22 +0000)
one to prevent that.
lib/memdebug.c
patch
|
blob
|
history
diff --git
a/lib/memdebug.c
b/lib/memdebug.c
index
d03faf3
..
1eeb5c9
100644
(file)
--- 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 */