Commit e29c565
committed
Remove dead code in formatting.c
Remove some code guarded by IS_MINUS() or IS_PLUS(), where the entire
stanza is inside an else-block where both of these are false. This
should slightly improve test coverage.
While at it, remove coding that apparently assumes that unsetting a
bit is so expensive that we have to first check if it's already set
in the first place.
Per Coverity report from Ranier Vilela
Analysis and review by Justin Pryzby
Discussion: https://www.postgresql.org/message-id/20221223010818.GP1153%40telsasoft.com1 parent c981d91 commit e29c565
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5664 | 5664 | | |
5665 | 5665 | | |
5666 | 5666 | | |
5667 | | - | |
| 5667 | + | |
5668 | 5668 | | |
5669 | | - | |
5670 | | - | |
5671 | 5669 | | |
5672 | | - | |
5673 | | - | |
5674 | 5670 | | |
5675 | 5671 | | |
5676 | 5672 | | |
| |||
0 commit comments