Content-Length: 270025 | pFad | http://github.com/postgrespro/postgres/commit/90132f62a2847fb2bc93a7c2366a139fe12bf365

64 Remove unused variable · postgrespro/postgres@90132f6 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/90132f62a2847fb2bc93a7c2366a139fe12bf365

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy