mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
remove unreachable code
This commit is contained in:
parent
cb8f158cd5
commit
379bcf1f14
1 changed files with 2 additions and 6 deletions
|
@ -157,11 +157,7 @@ static void phar_mung_server_vars(char *fname, char *entry, int entry_len, char
|
|||
|
||||
path_info = Z_STRVAL_PP(stuff);
|
||||
code = Z_STRLEN_PP(stuff);
|
||||
if (entry[0] != '/') {
|
||||
Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry);
|
||||
} else {
|
||||
ZVAL_STRINGL(*stuff, entry, entry_len, 1);
|
||||
}
|
||||
|
||||
MAKE_STD_ZVAL(temp);
|
||||
ZVAL_STRINGL(temp, path_info, code, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue