summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-05-17 11:51:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-05-17 12:05:08 -0400
commit6bc8e2ab6035bdfc34d83efe5e3fbf812534e166 (patch)
tree8e59cb6d589b3b10d7fc1bcf534c5c11b00c187d
parentb5a87ed051df9b1572e459c5328098280829b429 (diff)
downloadgtk+-ci-clang-build.tar.gz
gsk: Mark some variables as unusedci-clang-build
Hopefully that shuts up clang.
-rw-r--r--gsk/gl/gskgltexturelibrary.c2
-rw-r--r--gsk/vulkan/gskvulkanglyphcache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gsk/gl/gskgltexturelibrary.c b/gsk/gl/gskgltexturelibrary.c
index 45ac94692e..e2cbc2ea2c 100644
--- a/gsk/gl/gskgltexturelibrary.c
+++ b/gsk/gl/gskgltexturelibrary.c
@@ -88,7 +88,7 @@ gsk_gl_texture_library_real_compact (GskGLTextureLibrary *self,
GskGLTextureAtlasEntry *entry;
GHashTableIter iter;
guint dropped = 0;
- guint atlased = 0;
+ G_GNUC_UNUSED guint atlased = 0;
g_hash_table_iter_init (&iter, self->hash_table);
while (g_hash_table_iter_next (&iter, NULL, (gpointer *)&entry))
diff --git a/gsk/vulkan/gskvulkanglyphcache.c b/gsk/vulkan/gskvulkanglyphcache.c
index 0bb3c55b63..e2e00912b2 100644
--- a/gsk/vulkan/gskvulkanglyphcache.c
+++ b/gsk/vulkan/gskvulkanglyphcache.c
@@ -450,7 +450,7 @@ gsk_vulkan_glyph_cache_begin_frame (GskVulkanGlyphCache *cache)
GHashTableIter iter;
GlyphCacheKey *key;
GskVulkanCachedGlyph *value;
- guint dropped = 0;
+ G_GNUC_UNUSED guint dropped = 0;
cache->timestamp++;