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

Lists: pgsql-committers
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
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)