CnPack Forum


 
Subject: Uses Cleaner wizard - cannot detect initialization section having being-end
ajayrp
新警察
Rank: 1



UID 241909
Digest Posts 0
Credits 19
Posts 7
点点分 19
Reading Access 10
Registered 2015-10-1
Status Offline
Post at 2015-10-27 18:48  Profile | Blog | P.M. 
Uses Cleaner wizard - cannot detect initialization section having being-end

If a initialization section code is encapsulated with in begin-end block; then the Uses Cleaner wizard is unable to detect the initialization section.
It selects this unit for cleaning even-though the options "Skip Used Units including Initialization Part" is checked.

initialization
begin
  //Do something
  ShowMessage('Initialising');
end;

Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-10-28 12:41  Profile | Blog | P.M. 
Thanks for your report. I'll check it.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-11-2 15:23  Profile | Blog | P.M. 
It's a bug about our initialization judgement. Now fixed at 793 nightly-build version:

http://www.cnpack.org/downbuilds.php

Thanks for your report.
Top
 




All times are GMT++8, the time now is 2024-11-23 16:10

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008428 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP