Skip to content

Commit

Permalink
Fix GCC warning in math.c
Browse files Browse the repository at this point in the history
  • Loading branch information
iluuu1994 committed Oct 2, 2023
1 parent b56141c commit fcae588
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/standard/math.c
Expand Up @@ -159,6 +159,8 @@ static inline double php_round_helper(double value, int mode) {
return integral;
EMPTY_SWITCH_DEFAULT_CASE();
}
// FIXME: GCC bug, branch is considered reachable.
ZEND_UNREACHABLE();
}
/* }}} */

Expand Down

0 comments on commit fcae588

Please sign in to comment.