pgsql: More trivial dead code removal: in int_to_roman(), checking for

Поиск
Список
Период
Сортировка
От neilc@svr1.postgresql.org (Neil Conway)
Тема pgsql: More trivial dead code removal: in int_to_roman(), checking for
Дата
Msg-id 20050622014305.B7AAE52886@svr1.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Add a CONTINUE statement to PL/PgSQL, which can be used to begin
Следующее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Correct some code in pg_restore when reading the header of a tar