You've already forked godot
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:
committed by
Rémi Verschelde
parent
fc18d637a8
commit
8c2e10c393
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user