summaryrefslogtreecommitdiff
path: root/py/pfenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/pfenv.c')
-rw-r--r--py/pfenv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/py/pfenv.c b/py/pfenv.c
index 8bc42dcdf..22274a2ad 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.