From d4e519ed897e99d8092344ffef66710ccd7f6297 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 3 Aug 2017 22:51:34 +0200 Subject: [PATCH 1/1] Silence codacy (initialize variable). --- teshsuite/mc/dwarf/dwarf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1