From fe99318dce39508815fc832d092c7c7b0e34b49b Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sat, 16 Sep 2023 17:45:31 -0600 Subject: [PATCH] fix warning, fixing release build --- src/stdinc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stdinc.cpp b/src/stdinc.cpp index 473f000..8bd3835 100644 --- a/src/stdinc.cpp +++ b/src/stdinc.cpp @@ -361,10 +361,10 @@ nlohmann::json print_statement_ast(game::scriptInstance_t inst, game::sval_u val node = node[1].node, i++) { auto expr_name = node->node[0].stringValue; - auto sourcePos = node->node[1].sourcePosValue; + auto sourcePos_ = node->node[1].sourcePosValue; answer["formalParams"][i]["expr_name"] = game::SL_ConvertToString(expr_name, inst); - answer["formalParams"][i]["sourcePos"] = sourcePos; + answer["formalParams"][i]["sourcePos"] = sourcePos_; } answer["statements"] = nlohmann::json::array();