diff options
| author | Tom Lane | 2005-10-18 01:06:24 +0000 |
|---|---|---|
| committer | Tom Lane | 2005-10-18 01:06:24 +0000 |
| commit | 23836fb1fbe69c53eaaaae40db18ae6120c60135 (patch) | |
| tree | 361ce8b5a232c0edecf0fed8347782ea4be41f97 /src/backend/commands | |
| parent | d330f1554d3a99304e1965e3acf63c10ec34ce20 (diff) | |
A few trivial code cleanups motivated by reading warnings generated
by a recent HP C compiler. Mostly, get rid of useless local variables
that are assigned to but never used.
Diffstat (limited to 'src/backend/commands')
| -rw-r--r-- | src/backend/commands/typecmds.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/commands/typecmds.c b/src/backend/commands/typecmds.c index 7caacdacd2f..5cf51658eeb 100644 --- a/src/backend/commands/typecmds.c +++ b/src/backend/commands/typecmds.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.81 2005/10/15 02:49:16 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.82 2005/10/18 01:06:24 tgl Exp $ * * DESCRIPTION * The "DefineFoo" routines take the parse tree and pick out the @@ -1335,7 +1335,6 @@ AlterDomainDropConstraint(List *names, const char *constrName, DropBehavior beha Oid domainoid; HeapTuple tup; Relation rel; - Form_pg_type typTup; Relation conrel; SysScanDesc conscan; ScanKeyData key[1]; @@ -1379,8 +1378,6 @@ AlterDomainDropConstraint(List *names, const char *constrName, DropBehavior beha conscan = systable_beginscan(conrel, ConstraintTypidIndexId, true, SnapshotNow, 1, key); - typTup = (Form_pg_type) GETSTRUCT(tup); - /* * Scan over the result set, removing any matching entries. */ |
