aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-01-18 23:44:47 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 12:02:25 +0100
commita53c655474c96fc24e38009804291882793c2a3f (patch)
tree201515f407b3514b32764a1de1322b59f6a130a1
parent74fe99dab760eb1bc2aa7b64ab32a19bd26baabc (diff)
downloadnx-libs-a53c655474c96fc24e38009804291882793c2a3f.tar.gz
nx-libs-a53c655474c96fc24e38009804291882793c2a3f.tar.bz2
nx-libs-a53c655474c96fc24e38009804291882793c2a3f.zip
Logger.h: fix missing compiler attribute
-rw-r--r--nxcompshad/src/Logger.h2
1 files changed, 1 insertions, 1 deletions
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__));