Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e17e32

Browse files
committed
Remove variable shadowing
Commit a2e35b5 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.
1 parent 8a06c36 commit 4e17e32

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/commands/alter.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt *stmt,
446446
Relation relation;
447447
Oid classId;
448448
Oid nspOid;
449-
ObjectAddress address;
450449

451450
address = get_object_address(stmt->objectType,
452451
stmt->object,

0 commit comments

Comments
 (0)