Browse Source

* pas2jni: Removed obsolete code.

git-svn-id: trunk@41320 -
yury 6 năm trước cách đây
mục cha
commit
fe8b98ded3
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      utils/pas2jni/writer.pas

+ 1 - 3
utils/pas2jni/writer.pas

@@ -387,9 +387,7 @@ begin
   s:=Prefix + d.Name;
   i:=IncludeList.IndexOf(s);
   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
   else
     if ExcludeList.IndexOf(s) >= 0 then begin