mirror of
https://github.com/pantor/inja.git
synced 2026-02-27 05:46:28 +00:00
Removed unused "exception" variable to remove compiler warnings (warning C4101: 'exception': unreferenced local variable)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user