Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorPeter Kim <pk15950@gmail.com>2021-09-22 22:00:21 +0300
committerPeter Kim <pk15950@gmail.com>2021-09-22 22:00:21 +0300
commitee49991999c9c36cf90bbed513c1a38a688f269b (patch)
tree0adf33b0fe77151f758300e936969679129c98e8 /extern
parent6611f2cb740057b7019652524058069d01effa37 (diff)
Cleanup: Silence missing switch case warning
Diffstat (limited to 'extern')
-rw-r--r--extern/tinygltf/README.blender3
-rw-r--r--extern/tinygltf/tiny_gltf.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/extern/tinygltf/README.blender b/extern/tinygltf/README.blender
index fe23d320b77..2aba84dea80 100644
--- a/extern/tinygltf/README.blender
+++ b/extern/tinygltf/README.blender
@@ -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.
diff --git a/extern/tinygltf/tiny_gltf.h b/extern/tinygltf/tiny_gltf.h
index 185bb0daa98..099e0c76d92 100644
--- a/extern/tinygltf/tiny_gltf.h
+++ b/extern/tinygltf/tiny_gltf.h
@@ -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;