Skip to content

Commit b214cfb

Browse files
committed
Fix unused variable warnings
1 parent b35f498 commit b214cfb

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎tiny_obj_loader.cc‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,6 @@ exportFaceGroupToShape(
238238
return false;
239239
}
240240

241-
size_t offset;
242-
243-
offset = shape.mesh.indices.size();
244-
245241
// Flatten vertices and indices
246242
for (size_t i = 0; i < faceGroup.size(); i++) {
247243
const std::vector<vertex_index>& face = faceGroup[i];
@@ -624,7 +620,6 @@ std::string LoadObj(
624620
token += 7;
625621
sscanf(token, "%s", namebuf);
626622

627-
bool ret = exportFaceGroupToShape(shape, vertexCache, v, vn, vt, faceGroup, material, name, false);
628623
faceGroup.clear();
629624

630625
if (material_map.find(namebuf) != material_map.end()) {

0 commit comments

Comments
 (0)