summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-08 10:48:22 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-08 10:48:22 +0100
commita1b23585271c403ef5e035f33676a1bda6bdfcb7 (patch)
tree722e0c16efaa99b259e93ecc79c3452ee4ad5114
parent5813dbffe881e1a25ce71b318144328e3036a694 (diff)
eolian_cxx: initialize all members in a struct correctly
Fixes CID 1298133. @fix
-rw-r--r--src/lib/eolian_cxx/eo_types.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/eolian_cxx/eo_types.hh b/src/lib/eolian_cxx/eo_types.hh
index 431ba050f8..4431d3b44f 100644
--- a/src/lib/eolian_cxx/eo_types.hh
+++ b/src/lib/eolian_cxx/eo_types.hh
@@ -295,8 +295,10 @@ struct eo_function
295 295
296struct eo_event 296struct eo_event
297{ 297{
298 eo_event() : scope(eolian_scope::public_) {} 298 eo_event() : scope(eolian_scope::public_), is_beta(false), name(),
299 299 eo_name(), comment()
300 {}
301
300 eolian_scope scope; 302 eolian_scope scope;
301 bool is_beta; 303 bool is_beta;
302 std::string name; 304 std::string name;