diff options
author | Fabien Villepinte <fabien.villepinte@cdbdx.biz> | 2019-03-08 13:23:07 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-03-17 23:29:51 +0100 |
commit | b6f9ade9f201c852430689caf8ed8af0ded0159a (patch) | |
tree | 342eefadb2b201365e127caa14f4f6e0f27eb7f2 /ext/zip | |
parent | eabca6f87a143e169f977bb4a1d115983529b41b (diff) | |
download | php-git-b6f9ade9f201c852430689caf8ed8af0ded0159a.tar.gz |
Remove unused variables
Diffstat (limited to 'ext/zip')
-rw-r--r-- | ext/zip/php_zip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 9275ab1c46..02b8b6c49e 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -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; } |