From fa1edff006ced6f2e4b4ba4f899809c0d2a63de0 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 14 Mar 2015 22:32:40 +0000 Subject: py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int. --- py/pfenv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'py/pfenv.c') diff --git a/py/pfenv.c b/py/pfenv.c index 8bc42dcdf9..22274a2ad7 100644 --- a/py/pfenv.c +++ b/py/pfenv.c @@ -178,9 +178,7 @@ int pfenv_print_int(const pfenv_t *pfenv, mp_uint_t x, int sgn, int base, int ba return len; } -int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int sgn, int base, int base_char, int flags, char fill, int width, int prec) { - (void)sgn; // TODO why is sgn unused? - +int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int base, int base_char, int flags, char fill, int width, int prec) { if (!MP_OBJ_IS_INT(x)) { // This will convert booleans to int, or raise an error for // non-integer types. -- cgit v1.2.3