Fix set but unused variable in Freestyle

This commit is contained in:
Sergey Sharybin 2023-04-18 11:25:56 +02:00 committed by Sergey Sharybin
parent 3c34b13cf8
commit c872b6b930
1 changed files with 0 additions and 2 deletions

View File

@ -140,7 +140,6 @@ NodeGroup *ViewMapTesselator::Tesselate(ViewEdgesIterator begin, ViewEdgesIterat
FEdge *firstEdge; FEdge *firstEdge;
FEdge *nextFEdge, *currentEdge; FEdge *nextFEdge, *currentEdge;
int id = 0;
// for (vector<ViewEdge*>::const_iterator c = viewedges.begin(), cend = viewedges.end(); c != // for (vector<ViewEdge*>::const_iterator c = viewedges.begin(), cend = viewedges.end(); c !=
// cend; c++) // cend; c++)
for (ViewEdgesIterator c = begin, cend = end; c != cend; c++) { for (ViewEdgesIterator c = begin, cend = end; c != cend; c++) {
@ -193,7 +192,6 @@ NodeGroup *ViewMapTesselator::Tesselate(ViewEdgesIterator begin, ViewEdgesIterat
line->setId((*c)->getId().getFirst()); line->setId((*c)->getId().getFirst());
line->ComputeBBox(); line->ComputeBBox();
tshape->AddRep(line); tshape->AddRep(line);
id++;
} }
return group; return group;