From e060b4f4aa4f74c1e90d4c5c6efa951f8cce0ca7 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Wed, 21 Feb 2018 20:53:30 +0900 Subject: [PATCH] Remove unused variable. --- experimental/tinyobj_loader_opt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/experimental/tinyobj_loader_opt.h b/experimental/tinyobj_loader_opt.h index c926245..9d17597 100644 --- a/experimental/tinyobj_loader_opt.h +++ b/experimental/tinyobj_loader_opt.h @@ -1523,7 +1523,6 @@ bool parseObj(attrib_t *attrib, std::vector *shapes, size_t t_count = t_offsets[t]; size_t f_count = f_offsets[t]; size_t face_count = face_offsets[t]; - int material_id = -1; // -1 = default unknown material. for (size_t i = 0; i < commands[t].size(); i++) { if (commands[t][i].type == COMMAND_EMPTY) {