mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
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.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteDefine.c,v 1.106 2005/10/15 02:49:24 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteDefine.c,v 1.107 2005/10/18 01:06:24 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -191,7 +191,6 @@ DefineQueryRewrite(RuleStmt *stmt)
|
||||
Oid ev_relid;
|
||||
Oid ruleId;
|
||||
int event_attno;
|
||||
Oid event_attype;
|
||||
ListCell *l;
|
||||
Query *query;
|
||||
AclResult aclresult;
|
||||
@ -432,7 +431,6 @@ DefineQueryRewrite(RuleStmt *stmt)
|
||||
* This rule is allowed - prepare to install it.
|
||||
*/
|
||||
event_attno = -1;
|
||||
event_attype = InvalidOid;
|
||||
|
||||
/*
|
||||
* We want the rule's table references to be checked as though by the rule
|
||||
|
Reference in New Issue
Block a user