From 0bfcb4f49e0b149c41ba67eeb3b64f297c1637f5 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Wed, 23 Feb 2022 10:02:49 -0500 Subject: [PATCH] add missing switch case for binary with warnings cranked up and warnings-as-errors enabled, the compiler throws an error due to this switch missing a case for binary. this makes the ignore explicit in order for compilation to proceed. --- tiny_gltf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tiny_gltf.h b/tiny_gltf.h index 82a2e6a..9e115a6 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -3192,6 +3192,7 @@ static bool ParseJsonAsValue(Value *ret, const json &o) { break; case json::value_t::null: case json::value_t::discarded: + case json::value_t::binary: // default: break; }