Ver código fonte

Avoid TARGET_DIRS_TARGET_DIRS garbage by explicitly setting result of string function in AddTargetDefines method to empty at startup

git-svn-id: trunk@23701 -
pierre 12 anos atrás
pai
commit
d9758e5d0e
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      utils/fpcm/fpcmwr.pp

+ 1 - 0
utils/fpcm/fpcmwr.pp

@@ -335,6 +335,7 @@ implementation
         T : TOs;
         T : TOs;
         C : TCpu;
         C : TCpu;
       begin
       begin
+        result:='';
         for c:=low(TCpu) to high(TCpu) do
         for c:=low(TCpu) to high(TCpu) do
           for t:=low(TOS) to high(TOS) do
           for t:=low(TOS) to high(TOS) do
             if FInput.IncludeTargets[c,t] then
             if FInput.IncludeTargets[c,t] then