clang: fix -Wunused-but-set-variable

This commit is contained in:
wmayer
2023-03-12 13:56:54 +01:00
committed by wwmayer
parent 4cd350d2d0
commit 2a970b3045
11 changed files with 15 additions and 24 deletions

View File

@@ -68,10 +68,8 @@ App::DocumentObjectExecReturn *FeatureViewAnnotation::execute(void)
<< " font-size=\"" << Scale.getValue() << "\"" << endl
<< " fill=\"#" << hr.str() << hg.str() << hb.str() << "\">" << endl;
int index=0;
for (vector<string>::const_iterator it = Text.getValues().begin(); it != Text.getValues().end(); ++it) {
result << "<tspan x=\"0\" dy=\"1em\">" << it->c_str() << "</tspan>" << endl;
index++;
}
result << "</text>" << endl << "</g>" << endl;