From 52ebb2b5d71d7baad1722b4bdcdd06e501fc363a Mon Sep 17 00:00:00 2001 From: Marco Lizza Date: Wed, 4 Mar 2015 14:46:24 +0100 Subject: [PATCH] Consistency in variable names. :) --- src/wren_core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wren_core.c b/src/wren_core.c index cdc5d9c1..729c94d2 100644 --- a/src/wren_core.c +++ b/src/wren_core.c @@ -880,8 +880,8 @@ DEF_PRIMITIVE(num_cos) DEF_PRIMITIVE(num_decimal) { - double num = AS_NUM(args[0]); - RETURN_NUM(num - (int32_t)num); + double value = AS_NUM(args[0]); + RETURN_NUM(value - (int32_t)value); } DEF_PRIMITIVE(num_deg) @@ -906,12 +906,12 @@ DEF_PRIMITIVE(num_rad) DEF_PRIMITIVE(num_sign) { - double num = AS_NUM(args[0]); + double value = AS_NUM(args[0]); double sign; - if (num > 0) { + if (value > 0) { sign = 1; } else - if (num < 0) { + if (value < 0) { sign = -1; } else { sign = 0;