From 52df3420cd241b1411da3e4b24318db12bf22cba Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Tue, 24 Jan 2017 09:08:13 -0500
Subject: [PATCH] Remove unused variable.

This was intended to be included in the previous commit,
but I goofed.
---
 src/backend/catalog/partition.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/backend/catalog/partition.c b/src/backend/catalog/partition.c
index 1df9af110a4..839daad7a3e 100644
--- a/src/backend/catalog/partition.c
+++ b/src/backend/catalog/partition.c
@@ -622,8 +622,6 @@ partition_bounds_equal(PartitionKey key,
 
 		for (j = 0; j < key->partnatts; j++)
 		{
-			int32		cmpval;
-
 			/* For range partitions, the bounds might not be finite. */
 			if (b1->content != NULL)
 			{
-- 
GitLab