pgsql: Trivial dead code removal: in CreateSchemaCommand(), 'owner_name'

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Trivial dead code removal: in CreateSchemaCommand(), 'owner_name'
Date: 2005-06-21 00:58:15
Message-ID: 20050621005815.E7D505287D@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Trivial dead code removal: in CreateSchemaCommand(), 'owner_name' is
only used in one branch of an if statement, so we can move its
declaration to that block. This also avoids an unnecessary syscache
lookup.

Per Coverity static analysis performed by EnterpriseDB.

Modified Files:
--------------
pgsql/src/backend/commands:
schemacmds.c (r1.29 -> r1.30)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/schemacmds.c.diff?r1=1.29&r2=1.30)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2005-06-21 01:20:10 pgsql: Fix a potential backend crash during authentication when parsing
Previous Message Neil Conway 2005-06-21 00:48:33 pgsql: Trivial dead code removal: in _complete_from_query(), 'text'