More trivial dead code removal: in int_to_roman(), checking for "num == -1"

Neil Conway <neilc@samurai.com>

Commit: 06ecacded604d6d04b77e119a87a78f759b6b171
Author: Neil Conway <neilc@samurai.com>
Date: 2005-06-22T01:43:05Z
Releases: 8.1.0
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.

Files

PathChange+/−
src/backend/utils/adt/formatting.c modified +2 −6