From abb5cc3a3af33954106e81eddcf8c136bbbd4079 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 11 Dec 2023 17:05:03 -0500 Subject: [PATCH] ShaderAsset: Mark ParseShaderProperties() as static This had no function prototype, so this can be internally linked. Resolves a -Wmissing-declaration warning. --- Source/Core/VideoCommon/Assets/ShaderAsset.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp index e58b9bfbb6..9a31421334 100644 --- a/Source/Core/VideoCommon/Assets/ShaderAsset.cpp +++ b/Source/Core/VideoCommon/Assets/ShaderAsset.cpp @@ -14,9 +14,9 @@ namespace VideoCommon { -bool ParseShaderProperties(const VideoCommon::CustomAssetLibrary::AssetID& asset_id, - const picojson::array& properties_data, - std::map* shader_properties) +static bool ParseShaderProperties(const CustomAssetLibrary::AssetID& asset_id, + const picojson::array& properties_data, + std::map* shader_properties) { if (!shader_properties) [[unlikely]] return false;