Prechádzať zdrojové kódy

Do not check whether all units are used as by definition all units of a package are considered as used.

pmodules.pas, proc_package:
  - remove call to current_module.allunitsused

git-svn-id: branches/svenbarth/packages@31992 -
svenbarth 10 rokov pred
rodič
commit
1d4b105f01
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      compiler/pmodules.pas

+ 1 - 1
compiler/pmodules.pas

@@ -1527,7 +1527,7 @@ type
              tstoredsymtable(current_module.localsymtable).allprivatesused;
              tstoredsymtable(current_module.localsymtable).check_forwards;
 
-             current_module.allunitsused;
+             { Note: all contained units are considered as used }
            end;
 
          if target_info.system in systems_windows then