From 2cc9ba2562e4e3a218b328f2ce89f5ffe2bb5ca8 Mon Sep 17 00:00:00 2001 From: "LUDA-PC\\ludek.vodicka" Date: Fri, 23 Feb 2018 15:47:39 +0100 Subject: [PATCH] Removed unused "exception" variable to remove compiler warnings (warning C4101: 'exception': unreferenced local variable) --- src/inja.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inja.hpp b/src/inja.hpp index 3a49fdf..2b50848 100644 --- a/src/inja.hpp +++ b/src/inja.hpp @@ -498,7 +498,7 @@ public: case Parsed::Function::Default: { try { return eval_expression(element.args[0], data); - } catch (std::exception& exception) { + } catch (std::exception&) { return eval_expression(element.args[1], data); } }