mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-16 08:55:56 +08:00
add missing switch case for binary
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.
This commit is contained in:
parent
17e6e310ce
commit
0bfcb4f49e
@ -3192,6 +3192,7 @@ static bool ParseJsonAsValue(Value *ret, const json &o) {
|
|||||||
break;
|
break;
|
||||||
case json::value_t::null:
|
case json::value_t::null:
|
||||||
case json::value_t::discarded:
|
case json::value_t::discarded:
|
||||||
|
case json::value_t::binary:
|
||||||
// default:
|
// default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user