Explorar el Código

* Initialize result string

Michaël Van Canneyt hace 2 años
padre
commit
b9aeeaa6e3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/fcl-pdf/src/fppdfscanner.pp

+ 1 - 0
packages/fcl-pdf/src/fppdfscanner.pp

@@ -586,6 +586,7 @@ Var
   lRes,lRawlen : Integer;
 
 begin
+  Result:='';
   aValue:=Char(aStartByte)+GetTillByte(Ord('>'));
   lRawlen:=Length(aValue) div 2;
   SetLength(Result{%H-},lRawLen);