[fpc-pascal] Warning "Local variable seems to be not initialized" on dyn array

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Mar 9 17:25:31 CET 2015


I get a warning that a local dynamic array variable is not initialized.
Aren't such managed types initialized by default?
On http://wiki.freepascal.org/Dynamic_array it says:

Actually, dynamic arrays are pointers with automatic dereferencing. They are initialized to *nil* automatically.

So why the warning?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150309/73ab9ccc/attachment.html>


More information about the fpc-pascal mailing list