[fpc-pascal] How to solve "variable does not seem to be initialized" compiler hint.

Florian Klaempfl florian at freepascal.org
Thu Nov 19 08:43:37 CET 2009


Graeme Geldenhuys schrieb:
> Marco van de Voort wrote:
>> But I agree with Jonas. The problem is the obsession to eliminate
>> each and every warning, not the hint/warning.
> 
> I fully agree with JoshyFun. It's nothing to do with obsession. I you
> keep getting thousands of "useless" hints you will eventually start
> ignoring them, and that is probably the time you will miss a REAL hint
> or warning that pops up between those thousands of useless ones. I don't
> have the time to seek through all my 200,000+ lines of code looking for
> what is 'real' hints and what is 'fake' hints.
> 
> I don't see any problem in trying to write code with no hints &
> warnings. That's simply clean code!

If hints are really important, they would be warnings.



More information about the fpc-pascal mailing list