Skip to content

Commit 4c60a77

Browse files
committed
Remove unused variable
Cédric Villemain
1 parent 4d7d638 commit 4c60a77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/commands/tablecmds.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8641,7 +8641,6 @@ ATExecAddOf(Relation rel, const TypeName *ofTypename, LOCKMODE lockmode)
86418641
{
86428642
Oid relid = RelationGetRelid(rel);
86438643
Type typetuple;
8644-
Form_pg_type typ;
86458644
Oid typeid;
86468645
Relation inheritsRelation,
86478646
relationRelation;
@@ -8658,7 +8657,6 @@ ATExecAddOf(Relation rel, const TypeName *ofTypename, LOCKMODE lockmode)
86588657
/* Validate the type. */
86598658
typetuple = typenameType(NULL, ofTypename, NULL);
86608659
check_of_type(typetuple);
8661-
typ = (Form_pg_type) GETSTRUCT(typetuple);
86628660
typeid = HeapTupleGetOid(typetuple);
86638661

86648662
/* Fail if the table has any inheritance parents. */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy