Skip to content

Commit

Permalink
ext/gmp: Remove redundant parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Nov 27, 2024
1 parent 5d2b473 commit c924641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/gmp/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ ZEND_FUNCTION(gmp_perfect_square)
GMP_Z_PARAM_INTO_MPZ_PTR(gmpnum_a)
ZEND_PARSE_PARAMETERS_END();

RETURN_BOOL((mpz_perfect_square_p(gmpnum_a) != 0));
RETURN_BOOL(mpz_perfect_square_p(gmpnum_a) != 0);
}
/* }}} */

Expand All @@ -1312,7 +1312,7 @@ ZEND_FUNCTION(gmp_perfect_power)
GMP_Z_PARAM_INTO_MPZ_PTR(gmpnum_a)
ZEND_PARSE_PARAMETERS_END();

RETURN_BOOL((mpz_perfect_power_p(gmpnum_a) != 0));
RETURN_BOOL(mpz_perfect_power_p(gmpnum_a) != 0);
}
/* }}} */

Expand Down

0 comments on commit c924641

Please sign in to comment.