aboutsummaryrefslogtreecommitdiff
path: root/core/io/marshalls.cpp
diff options
context:
space:
mode:
authorfirefly24422015-09-16 15:35:30 -0500
committerfirefly24422015-09-16 15:35:30 -0500
commitafbb6c064c88d743d8a7d04b5dbfb4b0b1b2db7f (patch)
treec2fbdeb03b781b0b05b5a0c633f175269257f4ce /core/io/marshalls.cpp
parent889d21e0049a0e84d6d44db9b80193f93fd62f17 (diff)
downloadgodot-afbb6c064c88d743d8a7d04b5dbfb4b0b1b2db7f.tar.gz
godot-afbb6c064c88d743d8a7d04b5dbfb4b0b1b2db7f.tar.zst
godot-afbb6c064c88d743d8a7d04b5dbfb4b0b1b2db7f.zip
Diffstat (limited to 'core/io/marshalls.cpp')
-rw-r--r--core/io/marshalls.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/io/marshalls.cpp b/core/io/marshalls.cpp
index b0d24abfe..1e76e2b4b 100644
--- a/core/io/marshalls.cpp
+++ b/core/io/marshalls.cpp
@@ -299,10 +299,8 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int *
ERR_FAIL_COND_V(len<12,ERR_INVALID_DATA);
Vector<StringName> names;
Vector<StringName> subnames;
- bool absolute;
StringName prop;
- int i=0;
uint32_t namecount=strlen&=0x7FFFFFFF;
uint32_t subnamecount = decode_uint32(buf+4);
uint32_t flags = decode_uint32(buf+8);
@@ -391,7 +389,6 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int *
ie.type=decode_uint32(&buf[0]);
ie.device=decode_uint32(&buf[4]);
- uint32_t len = decode_uint32(&buf[8])-12;
if (r_len)
(*r_len)+=12;