MaskEdit: use Default intrinsic instead of FillChar.

git-svn-id: trunk@64865 -
This commit is contained in:
bart 2021-03-23 18:24:26 +00:00
parent 5d98b3c2f6
commit e86f37adb5

View File

@ -521,10 +521,8 @@ end;
procedure TCustomMaskEdit.ClearInternalMask(out AMask: TInternalMask; out ALengthIndicator: Integer);
begin
{$PUSH}{$HINTS OFF}
FillChar(AMask, SizeOf(TInternalMask), 0);
AMask := Default(TInternalMask);
ALengthIndicator := 0;
{$POP}
end;