Skip to content

Commit c5674bb

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: removed unused vars
2 parents 42171b1 + bab33f7 commit c5674bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/pgsql/pgsql.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4350,7 +4350,6 @@ static void php_pgsql_escape_internal(INTERNAL_FUNCTION_PARAMETERS, int escape_l
43504350
char *from = NULL, *to = NULL, *tmp = NULL;
43514351
zval *pgsql_link = NULL;
43524352
PGconn *pgsql;
4353-
int to_len;
43544353
int from_len;
43554354
int id = -1;
43564355

@@ -6027,7 +6026,7 @@ PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, con
60276026
/* If field is NULL and HAS DEFAULT, should be skipped */
60286027
if (!skip_field) {
60296028
char *escaped;
6030-
size_t new_len, field_len = strlen(field);
6029+
size_t field_len = strlen(field);
60316030

60326031
if (_php_pgsql_detect_identifier_escape(field, field_len) == SUCCESS) {
60336032
escaped = _php_pgsql_strndup(field, field_len);

0 commit comments

Comments
 (0)