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

index 8175ba7ac8e4f6eaf6c832f0c4bade2ce70e7ee0..8866d730417e188b0c814bbeeeab3ca540fc0c06 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])) {