From: Gabriel Corona Date: Fri, 17 Jan 2014 10:16:51 +0000 (+0100) Subject: [mc] Remove useless argument in MC_dwarf_at_location X-Git-Tag: v3_11~199^2~2^2~35^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/259846cec30ce7d04d1e79a0c240a4e24f889436?hp=c4a8bfda960025eefdba44939f63c4e2e615d554 [mc] Remove useless argument in MC_dwarf_at_location --- 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) {