From 4e17e32f53c2de4a862ee5ef8bdcfa9152c11e25 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Tue, 7 Apr 2015 17:14:00 -0300 Subject: [PATCH] Remove variable shadowing Commit a2e35b53 should have removed the variable declaration in the inner block, but didn't. As a result, the returned address might end up not being what was intended. --- src/backend/commands/alter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/commands/alter.c b/src/backend/commands/alter.c index 3ddd7ec434..d28758cf8b 100644 --- a/src/backend/commands/alter.c +++ b/src/backend/commands/alter.c @@ -446,7 +446,6 @@ ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt *stmt, Relation relation; Oid classId; Oid nspOid; - ObjectAddress address; address = get_object_address(stmt->objectType, stmt->object,