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.

This commit is contained in:
hbina085
2019-06-28 23:09:59 -04:00
parent 3942c939e3
commit 9f0c6a6009
7 changed files with 19 additions and 12 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: