On 25.03.2018 16:28, Jonas Maebe wrote:
On 2018-03-25 00:09, Ondrej Pokorny wrote:
Why do I get the compiler warning when the variable is indeed
guaranteed to be initialized to nil/empty string?

https://bugs.freepascal.org/view.php?id=24601

Very good bug report.

I would lower the level of notification for "trivial: string" to a hint. It is nonsense to emit the same level of notification (warning) for dangerous code ("serious: integer") and valid code ("trivial: string").

Warnings are something to care about, the "trivial: string" case is not.

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

Reply via email to