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
|
URL: https://github.com/syoyo/tinygltf
|
||||||
License: MIT
|
License: MIT
|
||||||
Upstream version: 2.5.0, 19a41d20ec0
|
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>());
|
val = Value(o.get<double>());
|
||||||
break;
|
break;
|
||||||
case json::value_t::null:
|
case json::value_t::null:
|
||||||
|
case json::value_t::binary:
|
||||||
case json::value_t::discarded:
|
case json::value_t::discarded:
|
||||||
// default:
|
// default:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user