Cleanup: Silence missing switch case warning
This commit is contained in:
3
extern/tinygltf/README.blender
vendored
3
extern/tinygltf/README.blender
vendored
@@ -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.
|
||||
|
1
extern/tinygltf/tiny_gltf.h
vendored
1
extern/tinygltf/tiny_gltf.h
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user