From 0c48ea12e01c2bd7162ae204d7112e127026f68f Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Fri, 8 Nov 2013 23:12:00 +0100 Subject: [PATCH] Silence warning --- calculator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calculator.hpp b/calculator.hpp index a8a7474..2d4e6c7 100644 --- a/calculator.hpp +++ b/calculator.hpp @@ -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; }