- Notifications
You must be signed in to change notification settings - Fork28
Commit06ecacd
Neil Conway
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 checkingwith Karel, this is the right fix.Per Coverity static analysis performed by EnterpriseDB.1 parentebcb4c9 commit06ecacd
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
3508 | 3508 | | |
3509 | 3509 | | |
3510 | 3510 | | |
3511 | | - | |
3512 | | - | |
| 3511 | + | |
3513 | 3512 | | |
3514 | 3513 | | |
3515 | 3514 | | |
| |||
3529 | 3528 | | |
3530 | 3529 | | |
3531 | 3530 | | |
3532 | | - | |
3533 | | - | |
3534 | | - | |
3535 | 3531 | | |
3536 | 3532 | | |
3537 | 3533 | | |
| |||
0 commit comments
Comments
(0)