mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-29 02:26:34 +02: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:
@@ -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'
|
||||||
|
Reference in New Issue
Block a user