2
0
Эх сурвалжийг харах

Remove compiler warning about uninitialized variable.

Jan Janak 16 жил өмнө
parent
commit
e2b6d847e0

+ 1 - 1
modules/db_postgres/pg_oid.c

@@ -79,7 +79,7 @@ static int get_index(char* name)
 pg_type_t* pg_new_oid_table(PGresult* res)
  {
 	pg_type_t* table = NULL;
-	int row, n, end, idx, fields;
+	int row, n = 0, end, idx, fields;
 	str s;
 	
 	if (res == NULL || PQresultStatus(res) != PGRES_TUPLES_OK) goto error;