mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gtype – Mark _get_instance_private() function as G_GNUC_UNUSED
clang likes to complain about it being unused. https://bugzilla.gnome.org/show_bug.cgi?id=723899
This commit is contained in:
parent
1a736f5f51
commit
012011538f
@ -1672,6 +1672,7 @@ static gint TypeName##_private_offset; \
|
||||
\
|
||||
_G_DEFINE_TYPE_EXTENDED_CLASS_INIT(TypeName, type_name) \
|
||||
\
|
||||
G_GNUC_UNUSED \
|
||||
static inline gpointer \
|
||||
type_name##_get_instance_private (TypeName *self) \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user