Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#360 closed task (wontfix)

remove scrutinizer warning about conditional tests that are always true

Reported by: felix winkelmann Owned by: felix winkelmann
Priority: minor Milestone: 4.9.0
Component: compiler Version: 4.6.x
Keywords: scrutinizer Cc:
Estimated difficulty:

Description

Things like and-let* produce situations where such redundant tests occur, for example.

Change History (6)

comment:1 Changed 11 years ago by Jim Ursetto

FYI, this did detect an error in my code where I added ->string to an if condition, which forced a potentially #f value into a string. So it's not useless.

comment:2 Changed 11 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

Ok, I'll close this ticket then, since I can't think of a suitable solution without adding complexity.

comment:3 Changed 11 years ago by felix winkelmann

Resolution: fixed
Status: closedreopened

comment:4 Changed 11 years ago by felix winkelmann

Resolution: wontfix
Status: reopenedclosed

(doing everything wrong today, it seems ...)

comment:5 Changed 10 years ago by felix winkelmann

Milestone: 4.7.04.8.0

Milestone 4.7.0 deleted

comment:6 Changed 9 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.