From c181e9c82608b2ce8829dd898ae71983f1b0224f Mon Sep 17 00:00:00 2001 From: Mark Charney Date: Wed, 15 May 2019 11:02:31 -0400 Subject: [PATCH] enc2 test driver: fix for windows compilation, potential un-init var Change-Id: I40c1fc79be774fd6a36beca40734dc9d9c5f357c (cherry picked from commit 647d8981154fe1bdb3661099551fda19fb722521) --- src/enc2test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enc2test/test.c b/src/enc2test/test.c index 066d335d..99da7636 100644 --- a/src/enc2test/test.c +++ b/src/enc2test/test.c @@ -44,7 +44,7 @@ xed_uint64_t total = 0; xed_uint_t reps = 100; int execute_test(int test_id) { xed_decoded_inst_t xedd; - xed_uint32_t enclen; + xed_uint32_t enclen=0; xed_error_enum_t err; test_func_t* p = test_functions_m64_a64; xed_uint8_t output_buffer[2*XED_MAX_INSTRUCTION_BYTES];