Cleanup: Silence missing switch case warning

This commit is contained in:
Peter Kim 2021-09-22 12:00:21 -07:00
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 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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;