diff --git a/src/frontend/A32/types.cpp b/src/frontend/A32/types.cpp index 49659293..54cb4a65 100644 --- a/src/frontend/A32/types.cpp +++ b/src/frontend/A32/types.cpp @@ -52,12 +52,13 @@ const char* CoprocRegToString(CoprocReg reg) { } std::string RegListToString(RegList reg_list) { - std::string ret = ""; + std::string ret; bool first_reg = true; for (size_t i = 0; i < 16; i++) { if (Common::Bit(i, reg_list)) { - if (!first_reg) + if (!first_reg) { ret += ", "; + } ret += RegToString(static_cast(i)); first_reg = false; }