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

index 5cf53c26fba927da77359604b5b0378d06bdf823..35aadbd12af7dc7905718e2fe210fc35ce218a8a 100644 (file)
@@ -99,9 +99,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])) {