Index: src/scopes.cc |
diff --git a/src/scopes.cc b/src/scopes.cc |
index fa86e11c0b64dd88f5d06bc8dd9d2d6ac21288af..4e6acca5fc64ba5f6be60a0e70d6f739aa87dea4 100644 |
--- a/src/scopes.cc |
+++ b/src/scopes.cc |
@@ -548,16 +548,15 @@ |
} |
-bool Scope::RemoveUnresolved(VariableProxy* var) { |
+void Scope::RemoveUnresolved(VariableProxy* var) { |
// Most likely (always?) any variable we want to remove |
// was just added before, so we search backwards. |
for (int i = unresolved_.length(); i-- > 0;) { |
if (unresolved_[i] == var) { |
unresolved_.Remove(i); |
- return true; |
- } |
- } |
- return false; |
+ return; |
+ } |
+ } |
} |