From 9f0c6a60095025cb7f67a36ffa81e8709d645a66 Mon Sep 17 00:00:00 2001 From: hbina085 Date: Fri, 28 Jun 2019 23:09:59 -0400 Subject: Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended. --- core/packed_data_container.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/packed_data_container.cpp b/core/packed_data_container.cpp index fa60be64a7..54bf12b314 100644 --- a/core/packed_data_container.cpp +++ b/core/packed_data_container.cpp @@ -224,7 +224,8 @@ uint32_t PackedDataContainer::_pack(const Variant &p_data, Vector &tmpd string_cache[s] = tmpdata.size(); - }; //fallthrough + FALLTHROUGH; + }; case Variant::NIL: case Variant::BOOL: case Variant::INT: -- cgit v1.2.3