aboutsummaryrefslogtreecommitdiff
path: root/src/lane.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-17 18:35:34 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-17 18:35:34 +0200
commit742cfdd2f9009ed12d7109e152df8c760851a58a (patch)
tree08334e478055b7a58953abcff983c2fd6e1613f1 /src/lane.cpp
parent823d3d570236e32bdbe270306df5602ff586c4a7 (diff)
downloadlanes-742cfdd2f9009ed12d7109e152df8c760851a58a.tar.gz
lanes-742cfdd2f9009ed12d7109e152df8c760851a58a.tar.bz2
lanes-742cfdd2f9009ed12d7109e152df8c760851a58a.zip
Minor code tweaks
Diffstat (limited to 'src/lane.cpp')
-rw-r--r--src/lane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lane.cpp b/src/lane.cpp
index e321a52..3017806 100644
--- a/src/lane.cpp
+++ b/src/lane.cpp
@@ -474,7 +474,7 @@ static constexpr RegistryUniqueKey kStackTraceRegKey{ 0x3F327747CACAA904ull };
474// ########################################## Finalizer ############################################ 474// ########################################## Finalizer ############################################
475// ################################################################################################# 475// #################################################################################################
476 476
477static void push_stack_trace(lua_State* L_, Lane::ErrorTraceLevel errorTraceLevel_, LuaError rc_, int stk_base_) 477static void push_stack_trace(lua_State* L_, Lane::ErrorTraceLevel errorTraceLevel_, LuaError rc_, [[maybe_unused]] int stk_base_)
478{ 478{
479 // Lua 5.1 error handler is limited to one return value; it stored the stack trace in the registry 479 // Lua 5.1 error handler is limited to one return value; it stored the stack trace in the registry
480 switch (rc_) { 480 switch (rc_) {