fix(frontends/lean/elaborator): warning message

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-08-02 15:21:23 -07:00
parent fbc4a7af3b
commit 249c878597

View file

@ -1279,12 +1279,14 @@ public:
void display_flyinfo(substitution const & s) {
instantiate_flyinfo(s);
optional<flyinfo_data> prev;
flyinfo_data prev;
bool first = true;
for (auto const & p : m_flyinfo_data) {
if (!prev || p.first != prev->first) {
if (first || p.first != prev.first) {
display_flyinfo_data(p);
prev = p;
}
first = false;
}
}