projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a30f146
)
Fix compiler warning
author
Peter Eisentraut
Mon, 17 Apr 2017 00:49:40 +0000
(20:49 -0400)
committer
Peter Eisentraut
Mon, 17 Apr 2017 00:49:40 +0000
(20:49 -0400)
Introduced by
41306a511c01dd299115cf447858a00e34aebbf6
, happens with gcc
4.7.2.
src/backend/catalog/objectaddress.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/objectaddress.c
b/src/backend/catalog/objectaddress.c
index 8ccc171d03aec49d9184bb9af19066b50eb53568..68ba35248cec269a67a75a9cb58ee5e2c21ecb57 100644
(file)
--- 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;