浏览代码

* pas2jni: Removed obsolete code.

git-svn-id: trunk@41320 -
yury 6 年之前
父节点
当前提交
fe8b98ded3
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      utils/pas2jni/writer.pas

+ 1 - 3
utils/pas2jni/writer.pas

@@ -387,9 +387,7 @@ begin
   s:=Prefix + d.Name;
   s:=Prefix + d.Name;
   i:=IncludeList.IndexOf(s);
   i:=IncludeList.IndexOf(s);
   if i >= 0 then begin
   if i >= 0 then begin
-    i:=ptruint(IncludeList.Objects[i]);
-    if (i = 0) or (d.Count = i - 1) then
-      d.IsUsed:=True;
+    d.IsUsed:=True;
   end
   end
   else
   else
     if ExcludeList.IndexOf(s) >= 0 then begin
     if ExcludeList.IndexOf(s) >= 0 then begin