I have a software where I have many errors like
Variable 'xxx' might not have been initialized
the question is when a variable is uninitialized, does its will have a default value (exemple false for boolean) or it's get a completely random number ? ex :
function test: boolean;
begin
end;
what will be the result of test ? false? or a total random value ? Other example:
function test: boolean;
var a: boolean;
begin
if a then result := true
else result := false;
end;
Same here, what will be the value of a? false? or a total random value ?