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,