I get a false positive for an undefined value if I use FillChar to completely fill the result of function.
See the code below showing this:
function TTaurusTLSX509Name.GetHash: TTaurusTLSULong; //FI:W521 0 syroress return value might be undefined.
begin
{$ifdef fpc}
Initialize(Result);
if fX509Name <> nil then
{$else}
if fX509Name = nil then
begin
FillChar(Result, SizeOf(Result), 0)
end
else
{$endif}
begin
Result.C1 := X509_NAME_hash(fX509Name); //PALOFF - Mismatch parameter value
end;
end;
Am I missing something with FixInsightCL Pro version 2023.12?
PS: Is there a way I can beta test any new versions of this program? Thanks in advance?