diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-11 00:47:08 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-11 00:47:08 +0000 |
commit | 9af30aca35918ea6d7913a3a40708f7467c33fc4 (patch) | |
tree | fc86cb884eb6d4eb220a2e77aef237f05ede2293 | |
parent | 6c85a4b2f5ea475acf3025e79ccbb864a17c693b (diff) | |
parent | c90ffc7363a85e9cb7e8ac8c0fd6d5cef0f5d008 (diff) | |
download | gtk+-9af30aca35918ea6d7913a3a40708f7467c33fc4.tar.gz |
Merge branch 'wip/chergert/fix-unused' into 'master'
snapshot: fix warning when asserts are disabled
See merge request GNOME/gtk!3180
-rw-r--r-- | gtk/gtksnapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c index e01ce5ec68..008dd108e4 100644 --- a/gtk/gtksnapshot.c +++ b/gtk/gtksnapshot.c @@ -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) { |