mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
[test] Silence more compiler warnings
This commit is contained in:
1 parent
1b1413246b
commit
47cbf8f2c4
1 file changed
+3
@@ -549,6 +549,8 @@ typedef struct {
|
||||
G_N_ELEMENTS (name##_tests_more), \
|
||||
DEFAULT \
|
||||
}
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcast-function-type"
|
||||
static const property_t properties[] =
|
||||
{
|
||||
PROPERTY (combining_class, 0),
|
||||
@@ -556,6 +558,7 @@ static const property_t properties[] =
|
||||
PROPERTY (mirroring, RETURNS_UNICODE_ITSELF),
|
||||
PROPERTY (script, (unsigned int) HB_SCRIPT_UNKNOWN)
|
||||
};
|
||||
#pragma GCC diagnostic pop
|
||||
#undef PROPERTY
|
||||
|
||||
static void
|
||||
|
||||
Reference in new issue
Block a user