Titanium warning in code smell detector - improvement
Submitted by Bengt Miksits
Link to original bug (#501459)
Description
As discussed with Kristof :
Improvement of "if_without_else” titanium warning in titanium code smell detector.
For Example: if(not(f_ts_diameterPeer_start(c_DIAMETER_PEER_MME, v_peerConfigInfo))) { f_setVerdict(fail, c_START_FAILURE_MESSAGE); } and for such scenarios it is reporting “if_without_else” titanium warning. Currently "if(not(some condition))" is written with the expectation that it is not required to write else part as it is using negation in "if" but titanium is reporting it as a warning.
See separate mail from the originator Shaishav for more details