From e015dc82646091c91f10b59f40eb5b76e26a2046 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 2 Feb 2022 14:12:31 -0500 Subject: [PATCH] texture_cache: Ensure has_blacklisted is always initialized Resolves a -Wmaybe_uninitialized warning --- src/video_core/texture_cache/texture_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index d57c0c41af..72eeb8bbd0 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -343,7 +343,7 @@ template void TextureCache

::FillImageViews(DescriptorTable& table, std::span cached_image_view_ids, std::span views) { - bool has_blacklisted; + bool has_blacklisted = false; do { has_deleted_images = false; if constexpr (has_blacklists) {