Removed an unnecessary if. Fixes #140

This commit is contained in:
John Wiegley 2013-01-31 04:56:12 -06:00
parent ce169b3b48
commit 9e9d99e918

View file

@ -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<int>(1))
return args[0].roundto(args.get<int>(1));
return args[0].roundto(args.get<int>(1));
}
value_t report_t::fn_unround(call_scope_t& args)