Skip to content

Commit

Permalink
fixup! Add OtVariantBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlarsson committed Oct 26, 2017
1 parent 19cd37d commit b200880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libotutil/ot-variant-builder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ ot_variant_builder_add_value (OtVariantBuilder *builder,
gconstpointer data;
gsize data_size;
/* We ref-sink value, just like g_variant_builder_add_value does */
g_autoptr(GVariant) keep_around_until_return = g_variant_ref_sink (value);
g_autoptr(GVariant) keep_around_until_return G_GNUC_UNUSED = g_variant_ref_sink (value);

g_return_val_if_fail (info->n_children < info->max_items,
FALSE);
Expand Down

0 comments on commit b200880

Please sign in to comment.