From 92aec17cf001a4ba74c83c1656d07c7b9e76b522 Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Mon, 23 Jun 2025 15:28:00 +0200 Subject: [PATCH] Comment out unused variable With the 17.14 release of Visual Studio 2022, I see the following error: ``` ...\src\GraphingImpl\Mocks\Graph.h(47,47): warning C4100: 'variableName': unreferenced parameter [...\src\GraphingImpl\GraphingImpl.vcxproj ... ...\src\GraphingImpl\Mocks\Graph.h(47,47): error C2220: the following warning is treated as an error [...\src\GraphingImpl\GraphingImpl.vcxproj ``` Comment out the unused variable to resolve this. --- src/GraphingImpl/Mocks/Graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphingImpl/Mocks/Graph.h b/src/GraphingImpl/Mocks/Graph.h index 3678074c..00335037 100644 --- a/src/GraphingImpl/Mocks/Graph.h +++ b/src/GraphingImpl/Mocks/Graph.h @@ -44,7 +44,7 @@ namespace MockGraphingImpl return m_variables; } - virtual void SetArgValue(std::wstring variableName, double /*value*/) + virtual void SetArgValue(std::wstring /*variableName*/, double /*value*/) { }