pgsql: Trivial dead code removal: in CreateSchemaCommand(), 'owner_name' - Mailing list pgsql-committers

From neilc@svr1.postgresql.org (Neil Conway)
Subject pgsql: Trivial dead code removal: in CreateSchemaCommand(), 'owner_name'
Date
Msg-id 20050621005815.E7D505287D@svr1.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Trivial dead code removal: in _complete_from_query(), 'text'
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Fix a potential backend crash during authentication when parsing