From 24fd07ebe66c56430ca8a752ad1703d29c2f9da4 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 6 Mar 2008 09:59:35 +0000 Subject: (tried to) fix logerror() call under BSD (but can not yet compile, so this may be an error...) --- errmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'errmsg.c') 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]; -- cgit v1.2.3