Skip to content

Commit 72aacbf

Browse files
committed
removed unused vars
1 parent 4134ebe commit 72aacbf

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
@@ -4349,7 +4349,6 @@ static void php_pgsql_escape_internal(INTERNAL_FUNCTION_PARAMETERS, int escape_l
43494349
char *from = NULL, *to = NULL, *tmp = NULL;
43504350
zval *pgsql_link = NULL;
43514351
PGconn *pgsql;
4352-
int to_len;
43534352
int from_len;
43544353
int id = -1;
43554354

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

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

0 commit comments

Comments
 (0)