Fix compiler warning
Introduced by 41306a511c01dd299115cf447858a00e34aebbf6, happens with gcc 4.7.2. Forward-port of 1ec36a9eb4c2, 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:
parent
a17ac975e2
commit
32db0d68be
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user