Skip to content

Commit 6ac29ec

Browse files
committed
ext/phar: remove unused parameters for phar_do_403()
1 parent 9a24c6a commit 6ac29ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/phar/phar_object.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ static int phar_file_action(phar_archive_data *phar, phar_entry_info *info, char
311311
}
312312
/* }}} */
313313

314-
static void phar_do_403(char *entry, size_t entry_len) /* {{{ */
314+
static void phar_do_403(void) /* {{{ */
315315
{
316316
sapi_header_line ctr = {0};
317317

@@ -723,7 +723,7 @@ PHP_METHOD(Phar, webPhar)
723723
break;
724724
case IS_TRUE:
725725
case IS_FALSE:
726-
phar_do_403(entry, entry_len);
726+
phar_do_403();
727727

728728
if (free_pathinfo) {
729729
efree(path_info);

0 commit comments

Comments
 (0)