Skip to content

Commit b8c6f99

Browse files
committed
Fix Wimplicit-fallthrough in plain_wrapper
1 parent 8f3d899 commit b8c6f99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main/streams/plain_wrapper.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,8 @@ static int php_stdiop_set_option(php_stream *stream, int option, int value, void
918918
case PHP_STREAM_SYNC_FDSYNC:
919919
return php_stdiop_sync(stream, 1) == 0 ? PHP_STREAM_OPTION_RETURN_OK : PHP_STREAM_OPTION_RETURN_ERR;
920920
}
921-
921+
/* TODO Should this fallthrough? */
922+
ZEND_FALLTHROUGH;
922923
case PHP_STREAM_OPTION_TRUNCATE_API:
923924
switch (value) {
924925
case PHP_STREAM_TRUNCATE_SUPPORTED:

0 commit comments

Comments
 (0)