I am getting compile hints "Local variable "<variable name>" does not
seem to be initialized" for a number of variables of packed record
type.

Does not the FPC compiler reserve and zero the memory area of such
variables?

In any case I am using Move() to fill the variables with data from a
binary buffer, maybe the compiler is not smart enough to detect this
and remove the warning?

(FPC 3.0 and Lazarus 1.6 on Raspberry Pi3)

-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to