projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
09a9203
)
Resolve shadowing warning.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 5 May 2012 16:05:46 +0000
(18:05 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 6 May 2012 06:02:53 +0000
(08:02 +0200)
ir/be/bedwarf.c
patch
|
blob
|
history
diff --git
a/ir/be/bedwarf.c
b/ir/be/bedwarf.c
index
2da3ff4
..
b2c10cc
100644
(file)
--- a/
ir/be/bedwarf.c
+++ b/
ir/be/bedwarf.c
@@
-452,8
+452,7
@@
static void emit_function_parameters(const ir_entity *entity,
ir_type *param_type = get_method_param_type(type, i);
if (infos != NULL && infos[i].entity != NULL) {
ir_type *param_type = get_method_param_type(type, i);
if (infos != NULL && infos[i].entity != NULL) {
- const ir_entity *entity = infos[i].entity;
- long offset = get_entity_offset(entity);
+ long const offset = get_entity_offset(infos[i].entity);
emit_uleb128(DW_TAG_formal_parameter);
emit_string_printf("arg%u", (unsigned)i);
emit_dbginfo(dbgi);
emit_uleb128(DW_TAG_formal_parameter);
emit_string_printf("arg%u", (unsigned)i);
emit_dbginfo(dbgi);