1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.

(cherry picked from commit 9f0c6a6009)
This commit is contained in:
hbina085
2019-06-28 23:09:59 -04:00
committed by Rémi Verschelde
parent fc18d637a8
commit 8c2e10c393
5 changed files with 16 additions and 10 deletions

View File

@@ -224,7 +224,8 @@ uint32_t PackedDataContainer::_pack(const Variant &p_data, Vector<uint8_t> &tmpd
string_cache[s] = tmpdata.size();
}; //fallthrough
FALLTHROUGH;
};
case Variant::NIL:
case Variant::BOOL:
case Variant::INT: