1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-25 20:23:07 +03:00

Fix compiler warning

Introduced by 41306a511c, happens with gcc
4.7.2.

Forward-port of 1ec36a9eb4, which was applied to 9.6 only.

Author: Peter Eisentraut <peter@eisentraut.org>
Reported-by: Anton Voloshin <a.voloshin@postgrespro.ru>
Discussion: https://postgr.es/m/be8bbcdf-35f8-a8a6-098f-65c2e9497151@postgrespro.ru
This commit is contained in:
Alvaro Herrera
2021-06-07 11:04:23 -04:00
parent a17ac975e2
commit 32db0d68be

View File

@@ -1574,8 +1574,8 @@ get_object_address_opf_member(ObjectType objtype,
ObjectAddress address;
ListCell *cell;
List *copy;
TypeName *typenames[2];
Oid typeoids[2];
TypeName *typenames[2] = { NULL, NULL };
Oid typeoids[2] = { InvalidOid, InvalidOid };
int membernum;
int i;