I still need compiler hint generated by FPC at compiling (I don't want to turn it off), but the hint sometime disturbs me because it's a false-postive detection.
Supposing I have a record-type variable, could someone here tell me how to initialize it properly so that FPC could notice the initialization, since the FillByte() and FillChar() way do not cause FPC aware of it? This is part of my code: var oSearchOptions: TSearchFileOptions; FillByte(oSearchOptions, SizeOf(oSearchOptions), 0); I got this compiler hint when compiling: Variable "oSearchOptions" does not seem to be initialized. Thanks for any comments. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal