From 968a6f3c0ac4690a6fc74e8d84058bce91019c2e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 15 Jun 2010 10:12:04 +0100 Subject: Changes for building with Visual Studio 2008 --- src/expr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expr.cc') diff --git a/src/expr.cc b/src/expr.cc index defa5b79..0769d575 100644 --- a/src/expr.cc +++ b/src/expr.cc @@ -76,7 +76,7 @@ value_t expr_t::real_calc(scope_t& scope) try { return ptr->calc(scope, &locus); } - catch (const std::exception& err) { + catch (const std::exception&) { if (locus) { string current_context = error_context(); -- cgit v1.2.3