diff options
| author | Rémi Verschelde | 2016-07-08 00:32:28 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-07-08 16:47:55 +0200 |
| commit | f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 (patch) | |
| tree | ef86e39ca4ee986c5ca2888dc96cdfa145a6c2ce /core/io/marshalls.cpp | |
| parent | d8c31e0e7480906ccf230892b090e3c3cbe1b271 (diff) | |
| download | godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.gz godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.zst godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.zip | |
Diffstat (limited to 'core/io/marshalls.cpp')
| -rw-r--r-- | core/io/marshalls.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/io/marshalls.cpp b/core/io/marshalls.cpp index 60617e123..c9bd38c65 100644 --- a/core/io/marshalls.cpp +++ b/core/io/marshalls.cpp @@ -685,7 +685,6 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int * if (count) { varray.resize(count); DVector<Vector2>::Write w = varray.write(); - const float *r = (const float*)buf; for(int i=0;i<(int)count;i++) { @@ -724,7 +723,6 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int * if (count) { varray.resize(count); DVector<Vector3>::Write w = varray.write(); - const float *r = (const float*)buf; for(int i=0;i<(int)count;i++) { @@ -764,7 +762,6 @@ Error decode_variant(Variant& r_variant,const uint8_t *p_buffer, int p_len,int * if (count) { carray.resize(count); DVector<Color>::Write w = carray.write(); - const float *r = (const float*)buf; for(int i=0;i<(int)count;i++) { |
