]> granicus.if.org Git - php/commitdiff
- MFH: Removed unused variables
authorFelipe Pena <felipe@php.net>
Wed, 12 Nov 2008 17:50:37 +0000 (17:50 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 12 Nov 2008 17:50:37 +0000 (17:50 +0000)
ext/zip/php_zip.c

index 0c7f5c7985a2e5acd6112949f9afd20078c46a0e..c3514cd33053fa4906cbf7e1da1886d33bd58f5b 100644 (file)
@@ -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])) {