postgres.git / summary / log / commit / refs

commit    ab4575dcf18fad1bc20d4a1bde6dc33c8d2561b6
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Thu Dec 08 19:55:47 2016 +0000
First released in: 10.0

    Silence compiler warning.
    
    Per report from Stephen Frost.


src/backend/catalog/partition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/catalog/partition.c b/src/backend/catalog/partition.c index 6dab45f0edf..219d380cde5 100644 --- 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; [parent: fa0f466d5329]