[fpc-pascal] How to solve "variable does not seem to be initialized" compiler hint.
Graeme Geldenhuys
graeme at mastermaths.co.za
Tue Nov 17 12:20:18 CET 2009
Fantomas wrote:
>
> That compiler hint appears because you have not assigned a value to the variable
> Temp before passing it to a function as a parameter. You can pay no attention to
> that hint or switch off hints in your code where the hint is produced, if it
> really bothers you.
That you. I agree with JoshyFun though. It seems like it is actually a
problem in the FillChar() definition and that should be fixed, instead
of simply ignoring the hint.
I raised this issue in the fpc-devel mailing list.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list