I did look through the forum for a solution for my problem. I keep getting a lot of those"variable xyz doesn't seem to be initialized" warnings, which is rather a nuisance, possibly blending out real, more important warning messages, especially on larger project builds.
The most common cases are either calls to standard functions like FillChar() or BlockRead() at the beginning of a function/procedure, for the explicit purpose of "initializing" the variable in the parameter of those two functions. Or passing an array/record variable to a self-written procedure like InitializeStructure (MyRecord), likewise for the explicit purpose of initializing the passed variable.
There are quite a number of (older) forum posts about this, with the most common recommendation to use one or another version of a {$WARN nnnn oFF} {$WARN ON} around the affected line of source code (with or without PUSH/POP), but none of those seem to be working anymore.
And to be clear, I do not want to generally disable these warnings, as there might be very well lines where this is indeed a valid warning, maybe due to a typo or such. Those, in fact, I DO WANT to see, so to fix the code. And no, I do not want to plaster "dummy" initialization statements all over my source code either. This just should not be necessary. Just a way to selectively, temporarily disable those warnings...
Ralf