Skip to content

Commit

Permalink
enc2 test driver: fix for windows compilation, potential un-init var
Browse files Browse the repository at this point in the history
Change-Id: I40c1fc79be774fd6a36beca40734dc9d9c5f357c
(cherry picked from commit 647d8981154fe1bdb3661099551fda19fb722521)
  • Loading branch information
mjcharne authored and markcharney committed Aug 9, 2019
1 parent 9fbddf3 commit c181e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enc2test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit c181e9c

Please sign in to comment.