From ab4575dcf18fad1bc20d4a1bde6dc33c8d2561b6 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 8 Dec 2016 14:55:47 -0500 Subject: [PATCH] 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 6dab45f0ed..219d380cde 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; -- 2.40.0