Skip to content

Commit fd6c235

Browse files
nielsdoscmb69
authored andcommitted
Remove useless php_stream_tell() call
Closes GH-10365.
1 parent f254446 commit fd6c235

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/phar/zip.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alia
428428
PHAR_ZIP_FAIL("signatures larger than 64 KiB are not supported");
429429
}
430430

431-
php_stream_tell(fp);
432431
sigfile = php_stream_fopen_tmpfile();
433432
if (!sigfile) {
434433
PHAR_ZIP_FAIL("couldn't open temporary file");

0 commit comments

Comments
 (0)