felipe Wed Nov 12 17:26:19 2008 UTC
Modified files:
/php-src/ext/zip php_zip.c
Log:
- Removed unused variables
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.66&r2=1.67&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.66 php-src/ext/zip/php_zip.c:1.67
--- php-src/ext/zip/php_zip.c:1.66 Wed Nov 12 11:24:48 2008
+++ php-src/ext/zip/php_zip.c Wed Nov 12 17:26:19 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.c,v 1.66 2008/11/12 11:24:48 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.67 2008/11/12 17:26:19 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])) {
@@ -2758,7 +2755,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.66
2008/11/12 11:24:48 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.67
2008/11/12 17:26:19 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