felipe Wed Nov 12 17:50:37 2008 UTC
Modified files: (Branch: PHP_5_2)
/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.45&r2=1.1.2.46&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.1.2.45 php-src/ext/zip/php_zip.c:1.1.2.46
--- php-src/ext/zip/php_zip.c:1.1.2.45 Wed Nov 12 11:59:26 2008
+++ php-src/ext/zip/php_zip.c Wed Nov 12 17:50:37 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.c,v 1.1.2.45 2008/11/12 11:59:26 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.1.2.46 2008/11/12 17:50:37 felipe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -90,9 +90,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])) {
@@ -2276,7 +2273,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.45 2008/11/12 11:59:26 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v
1.1.2.46 2008/11/12 17:50:37 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