Skip to content

Commit

Permalink
Remove unused code. Fixes #454
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Sep 7, 2023
1 parent c40c9c2 commit 4b9cfc8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tiny_gltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4b9cfc8

Please sign in to comment.