Skip to content

Commit 82aa425

Browse files
committed
Fix some uouv in ext/pgsql
1 parent 322da7b commit 82aa425

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pgsql/pgsql.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@ PHP_FUNCTION(pg_fetch_result)
16931693
{
16941694
zval *result;
16951695
zend_string *field_name;
1696-
zend_long row, field_offset;
1696+
zend_long row, field_offset = 0;
16971697
bool row_is_null = false;
16981698
PGresult *pgsql_result;
16991699
pgsql_result_handle *pg_result;
@@ -2004,7 +2004,7 @@ static void php_pgsql_data_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type, bo
20042004
{
20052005
zval *result;
20062006
zend_string *field_name;
2007-
zend_long row, field_offset;
2007+
zend_long row, field_offset = 0;
20082008
bool row_is_null = false;
20092009
PGresult *pgsql_result;
20102010
pgsql_result_handle *pg_result;

0 commit comments

Comments
 (0)