]> granicus.if.org Git - postgresql/commit
More trivial dead code removal: in int_to_roman(), checking for "num == -1"
authorNeil Conway <neilc@samurai.com>
Wed, 22 Jun 2005 01:43:05 +0000 (01:43 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 22 Jun 2005 01:43:05 +0000 (01:43 +0000)
commit06ecacded604d6d04b77e119a87a78f759b6b171
treee7344d60a3d740154a16f0c6d8a9db8b059a1ea8
parentebcb4c931dc0ea5bc5e2199f39996f99fcab842b
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.
src/backend/utils/adt/formatting.c