From 9496897065d43498830aff260379fe08e41a0270 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 25 Oct 2026 18:32:10 +0100 Subject: Removed unused variables. --- src/model/asefile.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/model/asefile.cc') diff --git a/src/model/asefile.cc b/src/model/asefile.cc index ce43cd0..bbcc6e3 100644 --- a/src/model/asefile.cc +++ b/src/model/asefile.cc @@ -315,7 +315,7 @@ bool ASEFile::read_mesh_normals(std::istream &is) char data[1024]; memset(data, 0, sizeof(data)); - size_t count = 0; + //size_t count = 0; size_t index = 0; size_t vertindex = 0; @@ -337,7 +337,7 @@ bool ASEFile::read_mesh_normals(std::istream &is) it = ase_facelist.find(index); if (it != ase_facelist.end()) { (*it).second->normal().assign(x, y, z); - count++; + //count++; } else { con_warn << " could not find face " << index << std::endl; } @@ -366,7 +366,7 @@ bool ASEFile::read_mesh_normals(std::istream &is) } bool ASEFile::read_mesh_tvertex_list(std::istream &is) { - size_t count = 0; + //size_t count = 0; char data[1024]; memset(data, 0, sizeof(data)); @@ -387,7 +387,7 @@ bool ASEFile::read_mesh_tvertex_list(std::istream &is) if (line >> index >> x >> y >> z) { math::Vector3f *v = new math::Vector3f(x, y, z); ase_tvertexlist[index] = v; - count++; + //count++; } } } @@ -397,7 +397,7 @@ bool ASEFile::read_mesh_tvertex_list(std::istream &is) bool ASEFile::read_mesh_tface_list(std::istream &is) { - size_t count = 0; + //size_t count = 0; char data[1024]; memset(data, 0, sizeof(data)); @@ -428,7 +428,7 @@ bool ASEFile::read_mesh_tface_list(std::istream &is) if (t2) triangle->t2().assign(t2->x(), 1.0f - t2->y()); } - count++; + //count++; } } } -- cgit v1.2.3