Fixed: Undefined result warning in ValueExists
This commit is contained in:
parent
2fc41bcc1d
commit
c4e557268f
@ -283,6 +283,8 @@ end;
|
|||||||
|
|
||||||
function TX2RegistrySettings.ValueExists;
|
function TX2RegistrySettings.ValueExists;
|
||||||
begin
|
begin
|
||||||
|
Result := False;
|
||||||
|
|
||||||
if OpenRead() then
|
if OpenRead() then
|
||||||
Result := FData.ValueExists(AName);
|
Result := FData.ValueExists(AName);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user