BZ2: Use EMPTY_SWITCH_DEFAULT_CASE

This adds an assertion that this case indeed never happens
This commit is contained in:
George Peter Banyard 2022-04-11 14:15:52 +01:00
parent f4c23b0534
commit 7daa8b77a6

View file

@ -393,9 +393,7 @@ PHP_FUNCTION(bzopen)
RETURN_FALSE;
}
break;
default:
/* not reachable */
break;
EMPTY_SWITCH_DEFAULT_CASE();
}
if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) {