mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
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.
This commit is contained in:
parent
8a06c36aff
commit
4e17e32f53
@ -446,7 +446,6 @@ ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt *stmt,
|
|||||||
Relation relation;
|
Relation relation;
|
||||||
Oid classId;
|
Oid classId;
|
||||||
Oid nspOid;
|
Oid nspOid;
|
||||||
ObjectAddress address;
|
|
||||||
|
|
||||||
address = get_object_address(stmt->objectType,
|
address = get_object_address(stmt->objectType,
|
||||||
stmt->object,
|
stmt->object,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user