mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
Perl: fixed warning about "sep" may be used uninitialized.
This commit is contained in:
parent
07d7ecb8b2
commit
a0aea61b50
@ -268,19 +268,16 @@ header_in(r, key)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (hh->offset) {
|
||||
ph = (ngx_table_elt_t **) ((char *) &r->headers_in + hh->offset);
|
||||
|
||||
ph = (ngx_table_elt_t **) ((char *) &r->headers_in + hh->offset);
|
||||
if (*ph) {
|
||||
ngx_http_perl_set_targ((*ph)->value.data, (*ph)->value.len);
|
||||
|
||||
if (*ph) {
|
||||
ngx_http_perl_set_targ((*ph)->value.data, (*ph)->value.len);
|
||||
|
||||
goto done;
|
||||
}
|
||||
|
||||
XSRETURN_UNDEF;
|
||||
goto done;
|
||||
}
|
||||
|
||||
XSRETURN_UNDEF;
|
||||
|
||||
multi:
|
||||
|
||||
/* Cookie, X-Forwarded-For */
|
||||
|
Loading…
Reference in New Issue
Block a user