forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit51886df
Remove dead code in formatting.c
Remove some code guarded by IS_MINUS() or IS_PLUS(), where the entirestanza is inside an else-block where both of these are false. Thisshould slightly improve test coverage.While at it, remove coding that apparently assumes that unsetting abit is so expensive that we have to first check if it's already setin the first place.Per Coverity report from Ranier VilelaAnalysis and review by Justin PryzbyDiscussion:https://www.postgresql.org/message-id/20221223010818.GP1153%40telsasoft.com1 parenta00687d commit51886df
1 file changed
+1
-5
lines changedLines changed: 1 addition & 5 deletions
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
Comments
(0)