aboutsummaryrefslogtreecommitdiff
path: root/py/modmath.c
diff options
context:
space:
mode:
authorAntonin ENFRUN <antonin.e@me.com>2014-05-12 00:21:50 +0200
committerAntonin ENFRUN <antonin.e@me.com>2014-05-12 09:06:18 +0200
commitda1fffaa093d2541f7374a7aaf16d2f00ed29ddc (patch)
treec5060041368b8c74678f8ae0609f4a15379b2319 /py/modmath.c
parentceac71f1f54220d64c87a0c2ebfd583ea49ca037 (diff)
Fix some unused variables, and silence a clang warning about initialization override in vmentrytable.h
Diffstat (limited to 'py/modmath.c')
-rw-r--r--py/modmath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/modmath.c b/py/modmath.c
index f2253ab41..485d9462a 100644
--- a/py/modmath.c
+++ b/py/modmath.c
@@ -151,6 +151,7 @@ STATIC const mp_map_elem_t mp_module_math_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_copysign), (mp_obj_t)&mp_math_copysign_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_fabs), (mp_obj_t)&mp_math_fabs_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_floor), (mp_obj_t)&mp_math_floor_obj },
+ { MP_OBJ_NEW_QSTR(MP_QSTR_fmod), (mp_obj_t)&mp_math_fmod_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_frexp), (mp_obj_t)&mp_math_frexp_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_ldexp), (mp_obj_t)&mp_math_ldexp_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_modf), (mp_obj_t)&mp_math_modf_obj },