From a53c655474c96fc24e38009804291882793c2a3f Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 18 Jan 2019 23:44:47 +0100 Subject: Logger.h: fix missing compiler attribute --- nxcompshad/src/Logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nxcompshad') diff --git a/nxcompshad/src/Logger.h b/nxcompshad/src/Logger.h index e0b9997d7..88908f717 100644 --- a/nxcompshad/src/Logger.h +++ b/nxcompshad/src/Logger.h @@ -68,7 +68,7 @@ static inline void logError(const char *name, int error) \ __attribute__((__unused__)); static inline void logWarning(const char *name, const char *format, ...) \ - __attribute__((__unused__)); + __attribute__((format(printf, 2, 3))) __attribute__((__unused__)); static inline void logTest(const char *name, const char *format, ...) \ __attribute__((format(printf, 2, 3))) __attribute__((__unused__)); -- cgit v1.2.3