Skip to content

Commit 821f15c

Browse files
committed
Fix [-Wimplicit-fallthrough] warnings in Phar extension
1 parent 0b5ad2b commit 821f15c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/phar/util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,6 +1892,7 @@ int phar_create_signature(phar_archive_data *phar, php_stream *fp, char **signat
18921892
break;
18931893
default:
18941894
phar->sig_flags = PHAR_SIG_SHA1;
1895+
fallthrough;
18951896
case PHAR_SIG_SHA1: {
18961897
unsigned char digest[20];
18971898
PHP_SHA1_CTX context;

0 commit comments

Comments
 (0)