From 88319fcaf9a219412c2de04f8f74687b4e5cf53b Mon Sep 17 00:00:00 2001 From: Jackson <23512001+jackalbe@users.noreply.github.com> Date: Wed, 8 Sep 2021 13:52:19 -0500 Subject: [PATCH] {LYN6482} Fix warning as error in Editor Python Bindings Signed-off-by: Jackson <23512001+jackalbe@users.noreply.github.com> --- Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp b/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp index 561daa269e..38e8ad6b21 100644 --- a/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp +++ b/Gems/EditorPythonBindings/Code/Source/PythonProxyBus.cpp @@ -293,7 +293,7 @@ namespace EditorPythonBindings handler->m_ebus->m_name.c_str(), eventName); } - void OnEventGenericHook(const char* eventName, pybind11::function callback, [[maybe_unused]] int eventIndex, AZ::BehaviorValueParameter* result, int numParameters, AZ::BehaviorValueParameter* parameters) + void OnEventGenericHook([[maybe_unused]] const char* eventName, pybind11::function callback, [[maybe_unused]] int eventIndex, AZ::BehaviorValueParameter* result, int numParameters, AZ::BehaviorValueParameter* parameters) { // build the parameters to send to callback Convert::StackVariableAllocator stackVariableAllocator;