first is used in the condition during the next iteration of the loop.
@@ -99,6 +99,7 @@ public:
if (!first) {
stream << ", ";
} else {
+ // cppcheck-suppress unreadVariable
first = false;
}
if (param.first == "name") {