From: František Dvořák Date: Tue, 10 Dec 2013 18:24:38 +0000 (+0100) Subject: Fix warnings with debugging switched off. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=51161b32676721aef736ae273ef6e50897210bed;p=dmlite-plugins-vfs.git Fix warnings with debugging switched off. --- diff --git a/src/Vfs.h b/src/Vfs.h index c36a0aa..89e366e 100644 --- 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__