diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-28 09:47:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-28 09:47:29 +0200 |
commit | c7e646c30a5ca9abcd04383381d9a216cd2ee185 (patch) | |
tree | 431cb56ac164abee8845af163f9c23f7dbc3b1ab /core/io/marshalls.cpp | |
parent | 1c60465c5958446a2daccc54a1c58c3dee9b21a3 (diff) | |
parent | 7b081a7fc8011c5ce7194fc0eabb8768e0f9d4c6 (diff) |
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
Fix warnings about unhandled enum value in switch [-Wswitch]
Diffstat (limited to 'core/io/marshalls.cpp')
-rw-r--r-- | core/io/marshalls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/marshalls.cpp b/core/io/marshalls.cpp index e15519da47..d33d436b74 100644 --- a/core/io/marshalls.cpp +++ b/core/io/marshalls.cpp @@ -824,6 +824,7 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bo flags |= ENCODE_FLAG_OBJECT_AS_ID; } } break; + default: {} // nothing to do at this stage } if (buf) { |