summaryrefslogtreecommitdiffstatshomepage
path: root/py/pfenv.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-14 22:32:40 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-14 22:32:40 +0000
commitfa1edff006ced6f2e4b4ba4f899809c0d2a63de0 (patch)
treead36675969951bcee0d3381acfa5962bbf43b189 /py/pfenv.c
parent6837d46c1da0e7dd9cf73969bb58649222f455a4 (diff)
downloadmicropython-fa1edff006ced6f2e4b4ba4f899809c0d2a63de0.tar.gz
micropython-fa1edff006ced6f2e4b4ba4f899809c0d2a63de0.zip
py: Remove unnecessary and unused sgn argument from pfenv_print_mp_int.
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 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.