snapshot: fix warning when asserts are disabled

This commit is contained in:
Christian Hergert 2021-02-10 16:03:50 -08:00
parent 6c85a4b2f5
commit c90ffc7363

View File

@ -1586,7 +1586,7 @@ void
gtk_snapshot_gl_shader_pop_texture (GtkSnapshot *snapshot)
{
GtkSnapshotState *state = gtk_snapshot_get_current_state (snapshot);
GskRenderNode *node;
G_GNUC_UNUSED GskRenderNode *node;
if (state->collect_func != gtk_snapshot_collect_gl_shader_texture)
{