Ver Fonte

* Fix compiler warning

Michaël Van Canneyt há 2 anos atrás
pai
commit
d64bb5cad6
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      packages/fcl-base/src/basenenc.pp

+ 2 - 0
packages/fcl-base/src/basenenc.pp

@@ -108,6 +108,7 @@ Var
   L : Integer;
 
 begin
+  Result:='';
   L:=Length(B);
   SetLength(Result,L);
   If L>0 then
@@ -120,6 +121,7 @@ Var
   L : Integer;
 
 begin
+  Result:=[];
   L:=Length(S);
   SetLength(Result,L);
   If L>0 then