From ed0f3b1b8593f6b76fbb64c53a0885073c1c1979 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 19 Dec 2025 11:12:20 -0800 Subject: Fix many of the warnings that show up when compiling with GCC 15.2 --- view/sharedcache/core/SharedCacheController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/sharedcache/core/SharedCacheController.cpp') diff --git a/view/sharedcache/core/SharedCacheController.cpp b/view/sharedcache/core/SharedCacheController.cpp index ce3fde2c..d300017e 100644 --- a/view/sharedcache/core/SharedCacheController.cpp +++ b/view/sharedcache/core/SharedCacheController.cpp @@ -8,7 +8,8 @@ using namespace BinaryNinja::DSC; // Unique ID for a given Binary View. typedef uint64_t ViewId; -std::shared_mutex GlobalControllersMutex; +static std::shared_mutex GlobalControllersMutex; +static const char* METADATA_KEY = "shared_cache"; std::map>& GlobalControllers() { -- cgit v1.3.1