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:
Alexander Larsson 2011-05-04 13:54:34 +02:00
parent 985fd99e06
commit d97cbc6731

View File

@ -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'