From 4b9cfc8c1efad7a836eacdba7a1e98e34f82a669 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Thu, 7 Sep 2023 22:03:46 +0900 Subject: [PATCH] Remove unused code. Fixes #454 --- tiny_gltf.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index f2d49e0..4348070 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -6768,10 +6768,6 @@ bool TinyGLTF::LoadBinaryFromMemory(Model *model, std::string *err, bin_size_ = size_t(chunk1_length); } - // Extract JSON string. - std::string jsonString(reinterpret_cast(&bytes[20]), - chunk0_length); - is_binary_ = true; bool ret = LoadFromString(model, err, warn,