summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemitter.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-10-27 15:42:32 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2016-10-29 10:44:30 +0200
commit6a0de8a6efe9fc9a13336647a17802de4e61101d (patch)
treed93264fafa6aecce4ec8c1b07540e99de32397c5 /ir/be/beemitter.h
parentf606616b3cb74619433636c0b7b3a9b2b5aac696 (diff)
Fix warnings about shadowed variables.
Diffstat (limited to 'ir/be/beemitter.h')
-rw-r--r--ir/be/beemitter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/beemitter.h b/ir/be/beemitter.h
index 56ab3db..f7833a9 100644
--- a/ir/be/beemitter.h
+++ b/ir/be/beemitter.h
@@ -102,8 +102,8 @@ static inline size_t be_emit_get_column(void)
be_emit_char('\t'); \
if (in_delay_slot) \
be_emit_char(' '); \
- for (size_t n;;) \
- if (n = strcspn(fmt, "\n%"), be_emit_string_len(fmt, n), fmt += n, *fmt == '\0') { \
+ for (size_t node##__n;;) \
+ if (node##__n = strcspn(fmt, "\n%"), be_emit_string_len(fmt, node##__n), fmt += node##__n, *fmt == '\0') { \
be_emit_finish_line_gas(node); \
va_end(ap); \
break; \