浏览代码

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 年之前
父节点
当前提交
d9758e5d0e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      utils/fpcm/fpcmwr.pp

+ 1 - 0
utils/fpcm/fpcmwr.pp

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