From 1ec36a9eb4c29dc49838319d1e666f66961d757c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 16 Apr 2017 20:49:40 -0400 Subject: [PATCH] Fix compiler warning Introduced by 41306a511c01dd299115cf447858a00e34aebbf6, happens with gcc 4.7.2. --- src/backend/catalog/objectaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/catalog/objectaddress.c b/src/backend/catalog/objectaddress.c index 8ccc171d03..68ba35248c 100644 --- a/src/backend/catalog/objectaddress.c +++ b/src/backend/catalog/objectaddress.c @@ -1578,8 +1578,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; -- 2.40.0