mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 20:05:49 +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_DEFINE_TYPE_EXTENDED_CLASS_INIT(TypeName, type_name) \
|
||||||
\
|
\
|
||||||
|
G_GNUC_UNUSED \
|
||||||
static inline gpointer \
|
static inline gpointer \
|
||||||
type_name##_get_instance_private (TypeName *self) \
|
type_name##_get_instance_private (TypeName *self) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user