Skip to content

Commit

Permalink
add missing switch case for binary
Browse files Browse the repository at this point in the history
with warnings cranked up and warnings-as-errors enabled, the compiler throws an error due to this switch missing a case for binary.  this makes the ignore explicit in order for compilation to proceed.
  • Loading branch information
brlcad committed Feb 23, 2022
1 parent 17e6e31 commit 0bfcb4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiny_gltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -3192,6 +3192,7 @@ static bool ParseJsonAsValue(Value *ret, const json &o) {
break;
case json::value_t::null:
case json::value_t::discarded:
case json::value_t::binary:
// default:
break;
}
Expand Down

0 comments on commit 0bfcb4f

Please sign in to comment.