Fix unused variable warnings

This commit is contained in:
Julian Simioni
2014-10-29 18:54:35 -07:00
parent b35f4989ad
commit b214cfb4b9

View File

@@ -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<vertex_index>& 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()) {