mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 02:36:19 +01:00
gdbus-codegen: Make sure we pass -Werror
_g_value_equal might not always be used, so mark it G_GNUC_UNUSED to make sure we're -Werror clean.
This commit is contained in:
parent
985fd99e06
commit
d97cbc6731
@ -156,7 +156,7 @@ class CodeGenerator:
|
|||||||
'\n')
|
'\n')
|
||||||
|
|
||||||
# simplified - only supports the types we use
|
# simplified - only supports the types we use
|
||||||
self.c.write('static gboolean\n'
|
self.c.write('G_GNUC_UNUSED static gboolean\n'
|
||||||
'_g_value_equal (const GValue *a, const GValue *b)\n'
|
'_g_value_equal (const GValue *a, const GValue *b)\n'
|
||||||
'{\n'
|
'{\n'
|
||||||
' gboolean ret = FALSE;\n'
|
' gboolean ret = FALSE;\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user