diff --git a/module/Library/JSON.cpp b/module/Library/JSON.cpp index 814b8460..37c0a368 100644 --- a/module/Library/JSON.cpp +++ b/module/Library/JSON.cpp @@ -281,7 +281,7 @@ SQRESULT CtxJSON::SerializeParams(HSQUIRRELVM vm) CloseArray(); } // Remove trailing separator, if any - else if (mOutput.back() == ',') + if (mOutput.back() == ',') { mOutput.pop_back(); }