From 9e9d99e9187093b459525e3fd7e654d57000c3c4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 31 Jan 2013 04:56:12 -0600 Subject: Removed an unnecessary if. Fixes #140 --- src/report.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/report.cc') diff --git a/src/report.cc b/src/report.cc index d90d22e4..d0b64650 100644 --- a/src/report.cc +++ b/src/report.cc @@ -693,8 +693,7 @@ value_t report_t::fn_round(call_scope_t& args) value_t report_t::fn_roundto(call_scope_t& args) { - if(args.has(1)) - return args[0].roundto(args.get(1)); + return args[0].roundto(args.get(1)); } value_t report_t::fn_unround(call_scope_t& args) -- cgit v1.2.3