pgsql: More trivial dead code removal: in int_to_roman(), checking for - Mailing list pgsql-committers

From neilc@svr1.postgresql.org (Neil Conway)
Subject pgsql: More trivial dead code removal: in int_to_roman(), checking for
Date
Msg-id 20050622014305.B7AAE52886@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
More trivial dead code removal: in int_to_roman(), checking for "num == -1"
is redundant after a check has already been made for "num < 0". The "set"
variable can also be removed, as it is now no longer used. Per checking
with Karel, this is the right fix.

Per Coverity static analysis performed by EnterpriseDB.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.88 -> r1.89)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.88&r2=1.89)

pgsql-committers by date:

Previous
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Add a CONTINUE statement to PL/PgSQL, which can be used to begin
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Correct some code in pg_restore when reading the header of a tar