Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Silence codacy (initialize variable).
[simgrid.git] / teshsuite / mc / dwarf / dwarf.cpp
index 886d410..02c26ea 100644 (file)
@@ -153,7 +153,7 @@ int main(int argc, char** argv)
   int lexical_block_variable = 50;
   test_local_variable(process.binary_info.get(), "main", "lexical_block_variable", &lexical_block_variable, &cursor);
 
-  s_foo my_foo;
+  s_foo my_foo = {0};
   test_type_by_name(process, my_foo);
 
   _exit(0);