(....)
var
lList : PPropList;
begin
lList := nil; // <<== New line, I expect to fix a FPC warning
...
GetMem(lList, lSize);
But it's created a warning in BDS2006
Variable assigned to LList never used
---------------------------------------------
Simply put: the parameter is always discarded by GetMem, so the
parameter should be declared 'out'.
Cheers,
Flávio
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal