summaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorAlvaro Herrera2015-04-07 20:14:00 +0000
committerAlvaro Herrera2015-04-07 20:14:00 +0000
commit4e17e32f53c2de4a862ee5ef8bdcfa9152c11e25 (patch)
treeac30e797553461eb1ff2d56ab16acfcbff62e2cb /src/backend/commands
parent8a06c36aff4a94e5ffc3876cd85a1a16a82c754e (diff)
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.
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/alter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/commands/alter.c b/src/backend/commands/alter.c
index 3ddd7ec4343..d28758cf8b2 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,