From b6f9ade9f201c852430689caf8ed8af0ded0159a Mon Sep 17 00:00:00 2001 From: Fabien Villepinte Date: Fri, 8 Mar 2019 13:23:07 +0100 Subject: Remove unused variables --- ext/zip/php_zip.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/zip/php_zip.c') 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; } -- cgit v1.2.1