summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 0c7f5c7985..c3514cd330 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -90,9 +90,6 @@ static int le_zip_entry;
static char * php_zip_make_relative_path(char *path, int path_len) /* {{{ */
{
char *path_begin = path;
- int prev_is_slash = 0;
- char *e = path + path_len - 1;
- size_t pos = path_len - 1;
size_t i;
if (IS_SLASH(path[0])) {