diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 16:20:29 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 16:46:48 +0200 |
commit | 7ab01450cf465acb5981967e0276881e6d495904 (patch) | |
tree | 40993f5750d75d255627dcc8579b4c134cf07a5f /scene/resources/animation.cpp | |
parent | 14e1f36e614686f3fea0c74fac3624d1027dd5cc (diff) | |
download | redot-engine-7ab01450cf465acb5981967e0276881e6d495904.tar.gz |
Fix MSVC warning C4702: unreachable code
Part of #66537.
Diffstat (limited to 'scene/resources/animation.cpp')
-rw-r--r-- | scene/resources/animation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp index a52bfe97e7..f2ac1c2e58 100644 --- a/scene/resources/animation.cpp +++ b/scene/resources/animation.cpp @@ -2102,11 +2102,9 @@ bool Animation::track_is_compressed(int p_track) const { return bst->compressed_track >= 0; } break; default: { - return false; //animation does not really use transitions + return false; // Animation does not really use transitions. } break; } - - ERR_FAIL_V(false); } void Animation::track_set_key_value(int p_track, int p_key_idx, const Variant &p_value) { |