summaryrefslogtreecommitdiffstats
path: root/errmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'errmsg.c')
-rw-r--r--errmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/errmsg.c b/errmsg.c
index 43593a75..907046b9 100644
--- a/errmsg.c
+++ b/errmsg.c
@@ -49,7 +49,7 @@ DEFobjStaticHelpers
* to check errno and, if so, how to do that in a clean way.
*/
static void __attribute__((format(printf, 2, 3)))
-LogError(int iErrCode, char *fmt, ... )
+LogError(int __attribute__((unused)) iErrCode, char *fmt, ... )
{
va_list ap;
char buf[1024];