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
© tmssoftware.com