Cleanup: Silence missing switch case warning
This commit is contained in:
parent
6611f2cb74
commit
ee49991999
Notes:
blender-bot
2023-03-24 17:05:22 +01:00
Referenced by commit 72e81a45c4
, Extern: Add modifications diff for TinyGLTF
|
@ -2,4 +2,5 @@ Project: TinyGLTF
|
|||
URL: https://github.com/syoyo/tinygltf
|
||||
License: MIT
|
||||
Upstream version: 2.5.0, 19a41d20ec0
|
||||
Local modifications: None
|
||||
Local modifications:
|
||||
* Silence "enum value not handled in switch" warnings due to JSON dependency.
|
||||
|
|
|
@ -3201,6 +3201,7 @@ static bool ParseJsonAsValue(Value *ret, const json &o) {
|
|||
val = Value(o.get<double>());
|
||||
break;
|
||||
case json::value_t::null:
|
||||
case json::value_t::binary:
|
||||
case json::value_t::discarded:
|
||||
// default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue