Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1ec36a9

Browse files
committed
Fix compiler warning
Introduced by 41306a5, happens with gcc 4.7.2.
1 parent a30f146 commit 1ec36a9

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
@@ -1578,8 +1578,8 @@ get_object_address_opf_member(ObjectType objtype,
15781578
ObjectAddress address;
15791579
ListCell *cell;
15801580
List *copy;
1581-
TypeName *typenames[2];
1582-
Oid typeoids[2];
1581+
TypeName *typenames[2] = { NULL, NULL };
1582+
Oid typeoids[2] = { InvalidOid, InvalidOid };
15831583
int membernum;
15841584
int i;
15851585

0 commit comments

Comments
 (0)