mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Remove unused variable
The variable became obsolete in commit
68739ba856
, but only gcc 4.6 shows the
warning.
This commit is contained in:
@ -845,7 +845,6 @@ static void
|
|||||||
transformOfType(CreateStmtContext *cxt, TypeName *ofTypename)
|
transformOfType(CreateStmtContext *cxt, TypeName *ofTypename)
|
||||||
{
|
{
|
||||||
HeapTuple tuple;
|
HeapTuple tuple;
|
||||||
Form_pg_type typ;
|
|
||||||
TupleDesc tupdesc;
|
TupleDesc tupdesc;
|
||||||
int i;
|
int i;
|
||||||
Oid ofTypeId;
|
Oid ofTypeId;
|
||||||
@ -854,7 +853,6 @@ transformOfType(CreateStmtContext *cxt, TypeName *ofTypename)
|
|||||||
|
|
||||||
tuple = typenameType(NULL, ofTypename, NULL);
|
tuple = typenameType(NULL, ofTypename, NULL);
|
||||||
check_of_type(tuple);
|
check_of_type(tuple);
|
||||||
typ = (Form_pg_type) GETSTRUCT(tuple);
|
|
||||||
ofTypeId = HeapTupleGetOid(tuple);
|
ofTypeId = HeapTupleGetOid(tuple);
|
||||||
ofTypename->typeOid = ofTypeId; /* cached for later */
|
ofTypename->typeOid = ofTypeId; /* cached for later */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user