From: Arnaud Giersch Date: Thu, 3 Aug 2017 20:51:34 +0000 (+0200) Subject: Silence codacy (initialize variable). X-Git-Tag: v3_17~254 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d4e519ed897e99d8092344ffef66710ccd7f6297 Silence codacy (initialize variable). --- diff --git a/teshsuite/mc/dwarf/dwarf.cpp b/teshsuite/mc/dwarf/dwarf.cpp index 886d410750..02c26eac9c 100644 --- a/teshsuite/mc/dwarf/dwarf.cpp +++ b/teshsuite/mc/dwarf/dwarf.cpp @@ -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);