mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 14:29:19 +02:00
* Initialize result in StingToHex. Fixes issue #40388
This commit is contained in:
parent
13346a42bc
commit
896ca4bb75
@ -236,6 +236,7 @@ end;
|
||||
|
||||
function StringToHex(const s: ansistring): ansistring;
|
||||
begin
|
||||
Result:='';
|
||||
if s='' then exit;
|
||||
BytesToHexStr(Result,@s[1],length(s));
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user