projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa0f466
)
Silence compiler warning.
author
Robert Haas
<rhaas@postgresql.org>
Thu, 8 Dec 2016 19:55:47 +0000
(14:55 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Thu, 8 Dec 2016 19:55:47 +0000
(14:55 -0500)
Per report from Stephen Frost.
src/backend/catalog/partition.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/partition.c
b/src/backend/catalog/partition.c
index 6dab45f0edf8b1617d7239652fe36f113d30fd7a..219d380cde567cf4804a3f57dc2cd204cdc03f20 100644
(file)
--- a/
src/backend/catalog/partition.c
+++ b/
src/backend/catalog/partition.c
@@
-1744,7
+1744,7
@@
partition_rbound_cmp(PartitionKey key,
Datum *datums1, RangeDatumContent *content1, bool lower1,
PartitionRangeBound *b2)
{
- int32 cmpval
;
+ int32 cmpval
= 0; /* placate compiler */
int i;
Datum *datums2 = b2->datums;
RangeDatumContent *content2 = b2->content;