diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-29 21:45:14 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-30 13:58:07 +0200 |
commit | 850a54a2a55f26a447967f47f99d09cfc2874b38 (patch) | |
tree | e45dd81bf8960fd263215c9436e914f72a09b159 /core/bind/core_bind.h | |
parent | 26f99beac38808d0221031a41ab31325fec41be1 (diff) | |
download | redot-engine-850a54a2a55f26a447967f47f99d09cfc2874b38.tar.gz |
Fix uninitialized variables in Line2D, JSONParseResult and TileMap
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r-- | core/bind/core_bind.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 2885e7c0e0..3be5a08752 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -805,6 +805,9 @@ public: void set_result(const Variant &p_result); Variant get_result() const; + + JSONParseResult() : + error_line(-1) {} }; class _JSON : public Object { |