Project: | Prolint Issue Tracker |
Component: | Rules |
Category: | feature request |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
Literal numbers should be replaced by constants or variables.
But 0 and 1 should be allowed because of the large number of false positives (do i=1 to 15: 1 is fine but 15 is not).
Suggested by Tom Bascom