Skip to content

Commit fcae588

Browse files
committed
Fix GCC warning in math.c
1 parent b56141c commit fcae588

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/standard/math.c

+2
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ static inline double php_round_helper(double value, int mode) {
159159
return integral;
160160
EMPTY_SWITCH_DEFAULT_CASE();
161161
}
162+
// FIXME: GCC bug, branch is considered reachable.
163+
ZEND_UNREACHABLE();
162164
}
163165
/* }}} */
164166

0 commit comments

Comments
 (0)