From 215113b49e5b943d551bc14ed4e659a024d7e0ba Mon Sep 17 00:00:00 2001 From: Giovanni <561184+wargio@users.noreply.github.com> Date: Wed, 13 Oct 2021 17:38:08 +0200 Subject: [PATCH] Fixed build warning (#1832) --- test/integration/test_bin_vfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/test_bin_vfiles.c b/test/integration/test_bin_vfiles.c index f260ca7d07..5e37ad0e5f 100644 --- a/test/integration/test_bin_vfiles.c +++ b/test/integration/test_bin_vfiles.c @@ -45,7 +45,7 @@ bool test_bin_vfiles() { mu_assert_neq(reloc->target_vaddr, UT64_MAX, "target not UT64_MAX"); // 4. Check the contents of the original buf and the vfile against the data in the reloc - ut64 val; + ut64 val = 1; mu_assert_true(rz_buf_read_le64_at(buf, reloc->paddr, &val), "failed to read"); mu_assert_eq(val, 0, "original buf has nothing patched");