summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-08-08 10:12:27 +0000
committerAntony Dovgal <tony2001@php.net>2008-08-08 10:12:27 +0000
commit73ab5175b159e3ebe02598d135b198d7e6e70a63 (patch)
tree845f278980eb279eeb49d9b2f62e8a6f47ff88d0 /ext/zip/php_zip.c
parent70596f747404b12573768b369ed279718c6eb17a (diff)
downloadphp-git-73ab5175b159e3ebe02598d135b198d7e6e70a63.tar.gz
move unused vars into their ifdef
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index b58c2560c0..5773bdb166 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -515,9 +515,9 @@ int php_zip_glob(char *pattern, int pattern_len, long flags, zval *return_value
int php_zip_pcre(char *regexp, int regexp_len, char *path, int path_len, zval *return_value TSRMLS_DC) /* {{{ */
{
+#ifdef ZTS
char cwd[MAXPATHLEN];
int cwd_skip = 0;
-#ifdef ZTS
char work_path[MAXPATHLEN];
char *result;
#endif