git://scientific.zcu.cz
/
dmlite-plugins-vfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bcf9a9
)
Fix warnings with debugging switched off.
author
František Dvořák
<valtri@civ.zcu.cz>
Tue, 10 Dec 2013 18:24:38 +0000
(19:24 +0100)
committer
František Dvořák
<valtri@civ.zcu.cz>
Mon, 10 Feb 2014 14:08:22 +0000
(15:08 +0100)
src/Vfs.h
patch
|
blob
|
blame
|
history
diff --git
a/src/Vfs.h
b/src/Vfs.h
index
c36a0aa
..
89e366e
100644
(file)
--- a/
src/Vfs.h
+++ b/
src/Vfs.h
@@
-19,7
+19,11
@@
#define debug(MSG, ...) syslog(LOG_DEBUG, "%s::%s(): " MSG, getImplId().c_str(), __func__ , ##__VA_ARGS)
#endif
#else
- #define debug
+ #ifdef __GNUC__
+ #define debug(MSG, ARGS...) {}
+ #else
+ #define debug(MSG, ...) {}
+ #endif
#endif
#ifdef __GNUC__