Merge branch 'wip/chergert/fix-unused' into 'master'

snapshot: fix warning when asserts are disabled

See merge request GNOME/gtk!3180
This commit is contained in:
Matthias Clasen 2021-02-11 00:47:08 +00:00
commit 9af30aca35

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)
{