Skip to content

Commit

Permalink
Silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Nov 8, 2013
1 parent 92f18fc commit 0c48ea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calculator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ class ExpressionParser
if (!isEnd())
unexpected();
}
catch (const calculator::error& e)
catch (const calculator::error&)
{
while(!stack_.empty())
stack_.pop();
throw e;
throw;
}
return result;
}
Expand Down

0 comments on commit 0c48ea1

Please sign in to comment.