summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir/check_full.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir/check_full.cpp b/src/mir/check_full.cpp
index 1f86c40a..15fe8b33 100644
--- a/src/mir/check_full.cpp
+++ b/src/mir/check_full.cpp
@@ -381,8 +381,8 @@ namespace
void mark_from_state(const ValueStates& vss, const State& s) {
if(s.is_composite()) {
used.at(s.index-1) = true;
- for(const auto& s : vss.inner_states.at(s.index-1))
- mark_from_state(vss, s);
+ for(const auto& is : vss.inner_states.at(s.index-1))
+ mark_from_state(vss, is);
// TODO: Should this compact composites with all-equal inner states?
}