Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 90132f6

Browse files
committed
Remove unused variable
The variable became obsolete in commit 68739ba, but only gcc 4.6 shows the warning.
1 parent efb224a commit 90132f6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/parser/parse_utilcmd.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,6 @@ static void
845845
transformOfType(CreateStmtContext *cxt, TypeName *ofTypename)
846846
{
847847
HeapTuple tuple;
848-
Form_pg_type typ;
849848
TupleDesc tupdesc;
850849
int i;
851850
Oid ofTypeId;
@@ -854,7 +853,6 @@ transformOfType(CreateStmtContext *cxt, TypeName *ofTypename)
854853

855854
tuple = typenameType(NULL, ofTypename, NULL);
856855
check_of_type(tuple);
857-
typ = (Form_pg_type) GETSTRUCT(tuple);
858856
ofTypeId = HeapTupleGetOid(tuple);
859857
ofTypename->typeOid = ofTypeId; /* cached for later */
860858

0 commit comments

Comments
 (0)