From 259846cec30ce7d04d1e79a0c240a4e24f889436 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Fri, 17 Jan 2014 11:16:51 +0100 Subject: [PATCH 1/1] [mc] Remove useless argument in MC_dwarf_at_location --- src/mc/mc_dwarf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mc/mc_dwarf.c b/src/mc/mc_dwarf.c index f78723f68c..ccf89dea23 100644 --- a/src/mc/mc_dwarf.c +++ b/src/mc/mc_dwarf.c @@ -205,7 +205,7 @@ static dw_location_t MC_dwarf_get_location_list_libdw(Dwarf_Die* die, Dwarf_Attr * \return MC specific representation of the location represented by the given attribute * of the given die */ -static dw_location_t MC_dwarf_get_location(Dwarf_Die* die, Dwarf_Attribute* attr, mc_object_info_t info) { +static dw_location_t MC_dwarf_get_location(Dwarf_Die* die, Dwarf_Attribute* attr) { int form = dwarf_whatform(attr); switch (form) { @@ -258,7 +258,7 @@ static dw_location_t MC_dwarf_at_location(Dwarf_Die* die, int attribute, mc_obje Dwarf_Attribute attr; dwarf_attr_integrate(die, attribute, &attr); - return MC_dwarf_get_location(die, &attr, info); + return MC_dwarf_get_location(die, &attr); } static char* MC_dwarf_at_type(Dwarf_Die* die) { -- 2.20.1