Skip to content

Commit 38467a0

Browse files
committed
ext/session: remove unused progress parameter in early_find_sid_in()
1 parent a654ec1 commit 38467a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ext/session/session.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3047,7 +3047,7 @@ static PHP_MINFO_FUNCTION(session)
30473047
* Upload hook handling *
30483048
************************ */
30493049

3050-
static bool early_find_sid_in(zval *dest, int where, php_session_rfc1867_progress *progress)
3050+
static bool early_find_sid_in(zval *dest, int where)
30513051
{
30523052
zval *potential_session_id;
30533053

@@ -3070,7 +3070,7 @@ static void php_session_rfc1867_early_find_sid(php_session_rfc1867_progress *pro
30703070

30713071
if (PS(use_cookies)) {
30723072
sapi_module.treat_data(PARSE_COOKIE, NULL, NULL);
3073-
if (early_find_sid_in(&progress->sid, TRACK_VARS_COOKIE, progress)) {
3073+
if (early_find_sid_in(&progress->sid, TRACK_VARS_COOKIE)) {
30743074
progress->apply_trans_sid = false;
30753075
return;
30763076
}
@@ -3079,7 +3079,7 @@ static void php_session_rfc1867_early_find_sid(php_session_rfc1867_progress *pro
30793079
return;
30803080
}
30813081
sapi_module.treat_data(PARSE_GET, NULL, NULL);
3082-
early_find_sid_in(&progress->sid, TRACK_VARS_GET, progress);
3082+
early_find_sid_in(&progress->sid, TRACK_VARS_GET);
30833083
}
30843084

30853085
static bool php_check_cancel_upload(php_session_rfc1867_progress *progress)

0 commit comments

Comments
 (0)