mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove unused variables
This commit is contained in:
parent
eabca6f87a
commit
b6f9ade9f2
7 changed files with 23 additions and 30 deletions
|
@ -619,7 +619,6 @@ int php_zip_pcre(zend_string *regexp, char *path, int path_len, zval *return_val
|
|||
{
|
||||
#ifdef ZTS
|
||||
char cwd[MAXPATHLEN];
|
||||
int cwd_skip = 0;
|
||||
char work_path[MAXPATHLEN];
|
||||
char *result;
|
||||
#endif
|
||||
|
@ -638,8 +637,6 @@ int php_zip_pcre(zend_string *regexp, char *path, int path_len, zval *return_val
|
|||
cwd[2] = '\0';
|
||||
}
|
||||
#endif
|
||||
cwd_skip = strlen(cwd)+1;
|
||||
|
||||
snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path);
|
||||
path = work_path;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue