From d19362df669acf557c2c2f8dcb792aa4db3d2ae6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 Apr 2025 15:18:10 +1000 Subject: [PATCH] Cleanup: quiet unused variable warning --- source/blender/gpu/intern/gpu_context.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/gpu/intern/gpu_context.cc b/source/blender/gpu/intern/gpu_context.cc index 3b25be58d05..3e5df9a6d4a 100644 --- a/source/blender/gpu/intern/gpu_context.cc +++ b/source/blender/gpu/intern/gpu_context.cc @@ -564,6 +564,7 @@ GPUSecondaryContext::GPUSecondaryContext() GHOST_TSuccess success = GHOST_ReleaseGPUContext( reinterpret_cast(ghost_context_)); BLI_assert(success); + UNUSED_VARS_NDEBUG(success); /* Restore the main thread contexts. * (required as the above context creation also makes it active). */