Kaydet (Commit) 7196df7a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

tdf#43157: Enable format check in sal_detail_logFormat

Change-Id: I65296dd9b4b13fc1c3a3d8eed738e257b204b691
üst 36aafefc
...@@ -60,7 +60,7 @@ SAL_DLLPUBLIC void SAL_CALL sal_detail_logFormat( ...@@ -60,7 +60,7 @@ SAL_DLLPUBLIC void SAL_CALL sal_detail_logFormat(
enum sal_detail_LogLevel level, char const * area, char const * where, enum sal_detail_LogLevel level, char const * area, char const * where,
char const * format, ...) char const * format, ...)
/* TODO: enabling this will produce a huge amount of -Werror=format errors: */ /* TODO: enabling this will produce a huge amount of -Werror=format errors: */
#if defined __GNUC__ && 0 #if defined __GNUC__
__attribute__((format(printf, 4, 5))) __attribute__((format(printf, 4, 5)))
#endif #endif
; ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment