From e015dc82646091c91f10b59f40eb5b76e26a2046 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 2 Feb 2022 14:12:31 -0500 Subject: 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(-) (limited to 'src/video_core') diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index d57c0c41a..72eeb8bbd 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) { -- cgit v1.2.3