felipe Wed Nov 12 17:26:37 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/zip php_zip.c
Log:
- MFH: Removed unused variables
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.38.2.23&r2=1.1.2.38.2.24&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.1.2.38.2.23
php-src/ext/zip/php_zip.c:1.1.2.38.2.24
--- php-src/ext/zip/php_zip.c:1.1.2.38.2.23 Wed Nov 12 11:41:21 2008
+++ php-src/ext/zip/php_zip.c Wed Nov 12 17:26:36 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.c,v 1.1.2.38.2.23 2008/11/12 11:41:21 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.1.2.38.2.24 2008/11/12 17:26:36 felipe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -99,9 +99,6 @@
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])) {
@@ -2683,7 +2680,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "Zip", "enabled");
- php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v
1.1.2.38.2.23 2008/11/12 11:41:21 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v
1.1.2.38.2.24 2008/11/12 17:26:36 felipe Exp $");
php_info_print_table_row(2, "Zip version", PHP_ZIP_VERSION_STRING);
php_info_print_table_row(2, "Libzip version", "0.9.0");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php