Skip to content

Commit dcd4e0a

Browse files
Remove obsolete CG(extended_info) = 0 calls, we already do this in zend_set_default_compile_time_values().
1 parent fd884e2 commit dcd4e0a

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

sapi/cgi/cgi_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
519519

520520
init_request_info(TSRMLS_C);
521521
SG(server_context) = (void *) 1; /* avoid server_context==NULL checks */
522-
CG(extended_info) = 0;
523522

524523
SG(request_info).argv0 = argv0;
525524

sapi/fastcgi/fastcgi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,6 @@ int main(int argc, char *argv[])
547547
//break;
548548
}
549549
SG(server_context) = (void *) 1; /* avoid server_context==NULL checks */
550-
CG(extended_info) = 0;
551550
SG(request_info).argv0 = argv0;
552551
zend_llist_init(&global_vars, sizeof(char *), NULL, 0);
553552

sapi/pi3web/pi3web_sapi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ DWORD PHP4_wrapper(LPCONTROL_BLOCK lpCB)
384384
file_handle.type = ZEND_HANDLE_FILENAME;
385385
file_handle.opened_path = NULL;
386386

387-
CG(extended_info) = 0;
388387
init_request_info(lpCB TSRMLS_CC);
389388
php_request_startup(TSRMLS_C);
390389

sapi/servlet/servlet.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,10 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send
326326
((servlet_request*)SG(server_context))->servlet=self;
327327
((servlet_request*)SG(server_context))->cookies=0;
328328

329-
CG(extended_info) = 0;
330-
331329
/*
332330
* Initialize the request
333331
*/
332+
334333
SETSTRING( SG(request_info).auth_user, authUser );
335334
SETSTRING( SG(request_info).request_method, requestMethod );
336335
SETSTRING( SG(request_info).query_string, queryString );

0 commit comments

Comments
 (0)