[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Tue Jul 2 19:57:09 PDT 2013


 src/fcint.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1162515a9819c7355890aad919e5b9daa448a3a4
Author: Akira TAGOH <akira at tagoh.org>
Date:   Wed Jul 3 11:56:58 2013 +0900

    Add FC_UNUSED to FC_ASSERT_STATIC macro to avoid compiler warning

diff --git a/src/fcint.h b/src/fcint.h
index 269c1e6..9dff033 100644
--- a/src/fcint.h
+++ b/src/fcint.h
@@ -86,7 +86,7 @@ extern pfnSHGetFolderPathA pSHGetFolderPathA;
 #define FC_DBG_CONFIG	1024
 #define FC_DBG_LANGSET	2048
 
-#define _FC_ASSERT_STATIC1(_line, _cond) typedef int _static_assert_on_line_##_line##_failed[(_cond)?1:-1]
+#define _FC_ASSERT_STATIC1(_line, _cond) typedef int _static_assert_on_line_##_line##_failed[(_cond)?1:-1] FC_UNUSED
 #define _FC_ASSERT_STATIC0(_line, _cond) _FC_ASSERT_STATIC1 (_line, (_cond))
 #define FC_ASSERT_STATIC(_cond) _FC_ASSERT_STATIC0 (__LINE__, (_cond))
 


More information about the Fontconfig mailing list