mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +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')
|
||||
|
||||
# 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'
|
||||
'{\n'
|
||||
' gboolean ret = FALSE;\n'
|
||||
|
Loading…
Reference in New Issue
Block a user