[gtk/wip/baedert/for-master: 12/12] gskglcommandqueue: Mark some variables G_GNUC_UNUSED
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 12/12] gskglcommandqueue: Mark some variables G_GNUC_UNUSED
- Date: Thu, 16 Dec 2021 10:08:19 +0000 (UTC)
commit ceb61e6600978fcd2739a89c56bba6cebb8ab57d
Author: Timm Bäder <mail baedert org>
Date: Thu Dec 16 11:04:37 2021 +0100
gskglcommandqueue: Mark some variables G_GNUC_UNUSED
These are unused if sysprof isn't being used.
gsk/gl/gskglcommandqueue.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gl/gskglcommandqueue.c b/gsk/gl/gskglcommandqueue.c
index fa8ac1defb..3c7762e6fc 100644
--- a/gsk/gl/gskglcommandqueue.c
+++ b/gsk/gl/gskglcommandqueue.c
@@ -952,9 +952,9 @@ gsk_gl_command_queue_execute (GskGLCommandQueue *self,
guint program = 0;
guint width = 0;
guint height = 0;
- guint n_binds = 0;
+ G_GNUC_UNUSED guint n_binds = 0;
guint n_fbos = 0;
- guint n_uniforms = 0;
+ G_GNUC_UNUSED guint n_uniforms = 0;
guint n_programs = 0;
guint vao_id;
guint vbo_id;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]