8000 Fix compiler warning · anrs/postgres@b6e6ae1 · GitHub
[go: up one dir, main page]

Skip to content

Commit b6e6ae1

Browse files
committed
Fix compiler warning
Introduced by 087e696, happens with gcc 4.7.2.
1 parent bbd4a1b commit b6e6ae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/catalog/objectaddress.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,8 +1526,8 @@ get_object_address_opf_member(ObjectType objtype,
15261526
ObjectAddress address;
15271527
ListCell *cell;
15281528
List *copy;
1529-
TypeName *typenames[2];
1530-
Oid typeoids[2];
1529+
TypeName *typenames[2] = { NULL, NULL };
1530+
Oid typeoids[2] = { InvalidOid, InvalidOid };
15311531
int membernum;
15321532
int i;
15331533

0 commit comments

Comments
 (0)
0