mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Prevent unused variable warnings from G_DEFINE_DYNAMIC_TYPE
This commit is contained in:
parent
3c59c38404
commit
6fe2f5f11b
@ -193,7 +193,7 @@ type_name##_get_type (void) \
|
||||
static void \
|
||||
type_name##_register_type (GTypeModule *type_module) \
|
||||
{ \
|
||||
GType g_define_type_id; \
|
||||
GType g_define_type_id G_GNUC_UNUSED; \
|
||||
const GTypeInfo g_define_type_info = { \
|
||||
sizeof (TypeName##Class), \
|
||||
(GBaseInitFunc) NULL, \
|
||||
|
Loading…
Reference in New Issue
Block a user