tmssoftware.com
TMS Support Center
W510 False positive for strings
DEV
TMS FixInsight Pro
Jura_Lloyd
(Jura Lloyd)
April 24, 2017, 8:46pm
1
W510 should not apply to string values because it is a valid scenario to add string to itself
// this function should not generate warning
function DoubleS(const S: string): string;
begin
Result := S + S;
end;
© tmssoftware.com