[test] Silence more compiler warnings
This commit is contained in:
parent
1b1413246b
commit
47cbf8f2c4
|
@ -549,6 +549,8 @@ typedef struct {
|
||||||
G_N_ELEMENTS (name##_tests_more), \
|
G_N_ELEMENTS (name##_tests_more), \
|
||||||
DEFAULT \
|
DEFAULT \
|
||||||
}
|
}
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wcast-function-type"
|
||||||
static const property_t properties[] =
|
static const property_t properties[] =
|
||||||
{
|
{
|
||||||
PROPERTY (combining_class, 0),
|
PROPERTY (combining_class, 0),
|
||||||
|
@ -556,6 +558,7 @@ static const property_t properties[] =
|
||||||
PROPERTY (mirroring, RETURNS_UNICODE_ITSELF),
|
PROPERTY (mirroring, RETURNS_UNICODE_ITSELF),
|
||||||
PROPERTY (script, (unsigned int) HB_SCRIPT_UNKNOWN)
|
PROPERTY (script, (unsigned int) HB_SCRIPT_UNKNOWN)
|
||||||
};
|
};
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
#undef PROPERTY
|
#undef PROPERTY
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue