mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Silence a bunch of -Wunused-but-set-variable warnings
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -1525,6 +1525,8 @@ parse_value_from_blob (GMemoryInputStream *mis,
|
||||
g_free (s);
|
||||
}
|
||||
}
|
||||
#else
|
||||
is_leaf = is_leaf; /* To avoid -Wunused-but-set-variable */
|
||||
#endif /* DEBUG_SERIALIZER */
|
||||
|
||||
/* sink the reference */
|
||||
@@ -2151,12 +2153,9 @@ append_body_to_blob (GVariant *value,
|
||||
GDataOutputStream *dos,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret;
|
||||
GVariant *item;
|
||||
GVariantIter iter;
|
||||
|
||||
ret = FALSE;
|
||||
|
||||
if (!g_variant_is_of_type (value, G_VARIANT_TYPE_TUPLE))
|
||||
{
|
||||
g_set_error (error,
|
||||
|
Reference in New Issue
Block a user