Remove unused code. Fixes #454

This commit is contained in:
Syoyo Fujita 2023-09-07 22:03:46 +09:00
parent c40c9c223e
commit 4b9cfc8c1e

View File

@ -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<const char *>(&bytes[20]),
chunk0_length);
is_binary_ = true;
bool ret = LoadFromString(model, err, warn,