summaryrefslogtreecommitdiff
path: root/src/emscripten-optimizer
diff options
context:
space:
mode:
authorjuj <jujjyl@gmail.com>2016-10-20 20:23:57 +0300
committerAlon Zakai <alonzakai@gmail.com>2016-10-20 10:23:57 -0700
commitd9e63fed50f4bfc032123d6fdc5fe052f0e31b2f (patch)
tree496b973cd660040ebda4a15fa9993aa4a5067996 /src/emscripten-optimizer
parent00354666afcc5c9fa489c446e23febe7efbcd311 (diff)
downloadbinaryen-d9e63fed50f4bfc032123d6fdc5fe052f0e31b2f.tar.gz
binaryen-d9e63fed50f4bfc032123d6fdc5fe052f0e31b2f.tar.bz2
binaryen-d9e63fed50f4bfc032123d6fdc5fe052f0e31b2f.zip
Fix some C6246: "Local declaration of 'i' hides declaration of the same name in outer scope." warnings. (#795)
Diffstat (limited to 'src/emscripten-optimizer')
-rw-r--r--src/emscripten-optimizer/simple_ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emscripten-optimizer/simple_ast.h b/src/emscripten-optimizer/simple_ast.h
index bfb42c510..3f0d363df 100644
--- a/src/emscripten-optimizer/simple_ast.h
+++ b/src/emscripten-optimizer/simple_ast.h
@@ -377,7 +377,7 @@ struct Value {
void stringify(std::ostream &os, bool pretty=false) {
static int indent = 0;
- #define indentify() { for (int i = 0; i < indent; i++) os << " "; }
+ #define indentify() { for (int i_ = 0; i_ < indent; i_++) os << " "; }
switch (type) {
case String:
if (str.str) {