You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the index key is used and incremented in the same line, Sonar raises issue S4143 on the second usage. However, the used index is not the same for the subsequent call.
Thanks for the feedback. We managed to reproduce the FP and will work on a fix soon.
Cheers,
Amaury
Evangelink
changed the title
S4143 False positive when incrementing key using ++ operator
Fix S4143: False positive when incrementing key using ++ operator
Sep 25, 2018
Description
When the index key is used and incremented in the same line, Sonar raises issue S4143 on the second usage. However, the used index is not the same for the subsequent call.
Repro steps
Expected behavior
No issue
Actual behavior
"Major Bug S4143" is raised
Known workarounds
Related information
The text was updated successfully, but these errors were encountered: