mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
BZ2: Use EMPTY_SWITCH_DEFAULT_CASE
This adds an assertion that this case indeed never happens
This commit is contained in:
parent
f4c23b0534
commit
7daa8b77a6
1 changed files with 1 additions and 3 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue