Cleanup: remove redundant variables & assignments

Co-authored-by: Sean Kim <SeanCTKim@protonmail.com>
This commit is contained in:
Campbell Barton
2024-04-09 13:52:41 +10:00
parent 5741632e7c
commit e01525cf2c
7 changed files with 1 additions and 10 deletions

View File

@@ -1320,7 +1320,6 @@ static PyObject *M_Geometry_tessellate_polygon(PyObject * /*self*/, PyObject *po
if (len_polypoints > 0) { /* don't bother adding edges as polylines */
dl = static_cast<DispList *>(MEM_callocN(sizeof(DispList), "poly disp"));
BLI_addtail(&dispbase, dl);
dl->type = DL_INDEX3;
dl->nr = len_polypoints;
dl->type = DL_POLY;
dl->parts = 1; /* no faces, 1 edge loop */