projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a736f5
)
gtype – Mark _get_instance_private() function as G_GNUC_UNUSED
author
Sebastian Dröge
<sebastian@centricular.com>
Sun, 9 Feb 2014 22:08:21 +0000
(23:08 +0100)
committer
Ryan Lortie
<desrt@desrt.ca>
Sat, 8 Mar 2014 14:01:52 +0000
(09:01 -0500)
clang likes to complain about it being unused.
https://bugzilla.gnome.org/show_bug.cgi?id=723899
gobject/gtype.h
patch
|
blob
|
history
diff --git
a/gobject/gtype.h
b/gobject/gtype.h
index
a1c2d90
..
330620b
100644
(file)
--- a/
gobject/gtype.h
+++ b/
gobject/gtype.h
@@
-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) \
{ \