Commit:    72aacbf735c59d4414b6111284a6232befd093fc
Author:    Anatol Belski <a...@php.net>         Mon, 12 Aug 2013 15:52:15 +0200
Parents:   4134ebec8e0b614b419eeaee41b10bcfeb72d16a
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=72aacbf735c59d4414b6111284a6232befd093fc

Log:
removed unused vars

Changed paths:
  M  ext/pgsql/pgsql.c


Diff:
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index fdd58a2..3189070 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -4349,7 +4349,6 @@ static void 
php_pgsql_escape_internal(INTERNAL_FUNCTION_PARAMETERS, int escape_l
        char *from = NULL, *to = NULL, *tmp = NULL;
        zval *pgsql_link = NULL;
        PGconn *pgsql;
-       int to_len;
        int from_len;
        int id = -1;
 
@@ -6026,7 +6025,7 @@ PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, 
const char *table_name, con
                /* If field is NULL and HAS DEFAULT, should be skipped */
                if (!skip_field) {
                        char *escaped;
-                       size_t new_len, field_len = strlen(field);
+                       size_t field_len = strlen(field);
 
                        if (_php_pgsql_detect_identifier_escape(field, 
field_len) == SUCCESS) {
                                escaped = _php_pgsql_strndup(field, field_len);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to