From fcae58809f2cbd20bea1b8e294f70ce2b80f4170 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Mon, 2 Oct 2023 10:55:57 +0200 Subject: [PATCH] Fix GCC warning in math.c --- ext/standard/math.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/standard/math.c b/ext/standard/math.c index 734ebaba075..0cd7ecfbb57 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -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(); } /* }}} */