From 2f707bbce90c49ed59a3867d91f24065dbc1a11d Mon Sep 17 00:00:00 2001 From: Rachel Green Date: Fri, 12 Dec 2025 15:55:26 +0000 Subject: [PATCH 1/2] Removed name for unused parameter to avoid errors. Signed-off-by: Rachel Green --- include/proxy-wasm/wasm_vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index 9a2f0a6a..e15666ea 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -161,7 +161,7 @@ struct WasmVmIntegration { virtual proxy_wasm::LogLevel getLogLevel() = 0; virtual void error(std::string_view message) = 0; // Allow integrations to handle specific FailStates differently. - virtual void error(FailState fail_state, std::string_view message) { error(message); } + virtual void error(FailState /*fail_state*/, std::string_view message) { error(message); } virtual void trace(std::string_view message) = 0; // Get a NullVm implementation of a function. // @param function_name is the name of the function with the implementation specific prefix. From f60eb8913b91954966bb0186a7f8147a915c38ec Mon Sep 17 00:00:00 2001 From: Rachel Green Date: Mon, 15 Dec 2025 16:27:45 +0000 Subject: [PATCH 2/2] Removed variable name since the type is self-explanatory Signed-off-by: Rachel Green --- include/proxy-wasm/wasm_vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/proxy-wasm/wasm_vm.h b/include/proxy-wasm/wasm_vm.h index e15666ea..e2e2ea0b 100644 --- a/include/proxy-wasm/wasm_vm.h +++ b/include/proxy-wasm/wasm_vm.h @@ -161,7 +161,7 @@ struct WasmVmIntegration { virtual proxy_wasm::LogLevel getLogLevel() = 0; virtual void error(std::string_view message) = 0; // Allow integrations to handle specific FailStates differently. - virtual void error(FailState /*fail_state*/, std::string_view message) { error(message); } + virtual void error(FailState, std::string_view message) { error(message); } virtual void trace(std::string_view message) = 0; // Get a NullVm implementation of a function. // @param function_name is the name of the function with the implementation specific prefix.