Skip to content

Commit bc18cbd

Browse files
authored
Merge pull request #4740 from jepler/modmath-pragma
modmath: Remove stray "pragma GCC diagnostic pop"
2 parents dc94f59 + ca74f28 commit bc18cbd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

py/modmath.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ STATIC mp_obj_t mp_math_log(size_t n_args, const mp_obj_t *args) {
244244
if (base <= (mp_float_t)0.0) {
245245
math_error();
246246
} else if (base == (mp_float_t)1.0) {
247-
#pragma GCC diagnostic pop
248247
mp_raise_msg(&mp_type_ZeroDivisionError, MP_ERROR_TEXT("division by zero"));
249248
}
250249
return mp_obj_new_float(l / MICROPY_FLOAT_C_FUN(log)(base));

0 commit comments

Comments
 (0)