From: František Dvořák Date: Tue, 10 Dec 2013 18:23:59 +0000 (+0100) Subject: Fix warnings with debugging switched off. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=ace6b985ade309597fe9b0d3533fc2aa49fa6284;p=dmlite-plugins-vfs-old.git Fix warnings with debugging switched off. --- diff --git a/src/Vfs.h b/src/Vfs.h index dd50cb9..3a927a3 100644 --- a/src/Vfs.h +++ b/src/Vfs.h @@ -25,7 +25,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__