Function results ignored

For some standard Delphi functions, such as Trim, eyebol checks that the result is assigned and not ignored. The call to Trim here is useless:

Trim(str);

as the result is ignored. It should be something like this:

Str:=Trim(str);

 




< Back to list of hints and warnings