mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +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:
@ -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,
|
||||||
|
Reference in New Issue
Block a user