Skip to content

Commit 00b35d5

Browse files
committed
Wrapped condition in UNEXPECTED
1 parent f323a84 commit 00b35d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_operators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ static void ZEND_COLD zend_power_base_0_exponent_lt_eq_0_error(void)
12941294

12951295
static zend_result safe_pow(double *result, double base, double exponent)
12961296
{
1297-
if (base == 0.0 && exponent < 0.0) {
1297+
if (UNEXPECTED(base == 0.0 && exponent < 0.0)) {
12981298
zend_power_base_0_exponent_lt_eq_0_error();
12991299
}
13001300

0 commit comments

Comments
 (0)