tmssoftware.com
TMS Support Center
W528 Loop variable is not used in FOR-loop
DEV
TMS FixInsight Pro
Stanislav_Hruska
(Stanislav Hruška)
February 2, 2020, 11:06am
1
for I := 0 to FServices.Count - 1 do
SumDeposit.Add(0); //FI:W528
Its not working. Do I have to do anything else? There is nothing in the manual.
Stanislav_Hruska
(Stanislav Hruška)
February 2, 2020, 11:11am
2
supplement
[FixInsight Internal] uDepositList.pas(186): I901 Useless comment "fi:w528" detected. No warnings or hints have been found at this line
Stanislav_Hruska
(Stanislav Hruška)
February 2, 2020, 11:32am
3
Repair. That's right
for I := 0 to FServices.Count - 1 do //FI:W528
SumDeposit.Add(0);
Roman_Yankovsky
(Roman Yankovsky)
February 2, 2020, 11:48am
4
Right, FI:xxx comment should be placed exactly on a line where warning occurs
Related topics
Topic
Replies
Views
Activity
Too many "Hint on useless fi:xxxx comments"
TMS FixInsight Pro
2
928
May 29, 2018
More than one comment per line
TMS FixInsight Pro
4
716
February 3, 2020
A curious error
TMS FixInsight Pro
1
930
January 4, 2018
Suppressing C103
TMS FixInsight Pro
0
361
August 25, 2020
False positive - W525
TMS FixInsight Pro
0
552
October 20, 2016
© tmssoftware.com