From b214cfb4b98be9464ff9f5a052a26fbbece52325 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Wed, 29 Oct 2014 18:54:35 -0700 Subject: [PATCH] Fix unused variable warnings --- tiny_obj_loader.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tiny_obj_loader.cc b/tiny_obj_loader.cc index 75f0dca..b73e766 100755 --- a/tiny_obj_loader.cc +++ b/tiny_obj_loader.cc @@ -238,10 +238,6 @@ exportFaceGroupToShape( return false; } - size_t offset; - - offset = shape.mesh.indices.size(); - // Flatten vertices and indices for (size_t i = 0; i < faceGroup.size(); i++) { const std::vector& face = faceGroup[i]; @@ -624,7 +620,6 @@ std::string LoadObj( token += 7; sscanf(token, "%s", namebuf); - bool ret = exportFaceGroupToShape(shape, vertexCache, v, vn, vt, faceGroup, material, name, false); faceGroup.clear(); if (material_map.find(namebuf) != material_map.end()) {