The cppcheck seems to have difficulty to figure out that the variable is set and initialized within a loop and that it is read within another loop iteration.
@@ -131,6 +131,7 @@ public:
if (!first) {
stream << ", ";
} else {
+ // cppcheck-suppress unreadVariable
first = false;
}
if (param.first == "name") {
@@ -97,6 +97,7 @@ public: