[X2Go-Commits] [nx-libs] 30/54: Logger.h: fix missing compiler	attribute
    git-admin at x2go.org 
    git-admin at x2go.org
       
    Sun Mar 24 10:05:03 CET 2019
    
    
  
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit a53c655474c96fc24e38009804291882793c2a3f
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Fri Jan 18 23:44:47 2019 +0100
    Logger.h: fix missing compiler attribute
---
 nxcompshad/src/Logger.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nxcompshad/src/Logger.h b/nxcompshad/src/Logger.h
index e0b9997..88908f7 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__));
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
    
    
More information about the x2go-commits
mailing list