From 182e96a1ffde8437ec33c35143d073d57d8de52f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 30 May 2016 10:22:45 -0400 Subject: [PATCH] Fix: Wrong variable checked in bin_info_child_die_has_address MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit "contains", which is an output pointer, is used instead of the local boolean that is set by the call to bt_dwarf_die_contains_addr. Signed-off-by: Jérémie Galarneau --- lib/bin-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bin-info.c b/lib/bin-info.c index 93bca2a8..65f9051f 100644 --- a/lib/bin-info.c +++ b/lib/bin-info.c @@ -1037,7 +1037,7 @@ int bin_info_child_die_has_address(struct bt_dwarf_die *die, uint64_t addr, bool goto error; } - if (contains) { + if (_contains) { goto end; } } -- 2.34.1