diff options
Diffstat (limited to 'compiler/cpp/src')
-rw-r--r-- | compiler/cpp/src/generate/t_c_glib_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cpp/src/generate/t_c_glib_generator.cc b/compiler/cpp/src/generate/t_c_glib_generator.cc index 3971fc28e..47aa4d2cd 100644 --- a/compiler/cpp/src/generate/t_c_glib_generator.cc +++ b/compiler/cpp/src/generate/t_c_glib_generator.cc @@ -3096,7 +3096,7 @@ void t_c_glib_generator::generate_object(t_struct* tstruct) { } else if (t->is_container()) { string name = (*m_iter)->get_name(); string init_function; - t_type* etype; + t_type* etype = NULL; if (t->is_map()) { t_type* key = ((t_map*)t)->get_key_type(); |