Skip to content

Commit 35e4555

Browse files
Hide compiler build message 'Parameter is not used'
1 parent a134989 commit 35e4555

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

source/controlergridtorrentdata.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ TControlerGridTorrentData = class
3939

4040
FRowIsMovedNeedUpdate: boolean;
4141
procedure StringGridTorrentDataColRowMoved(Sender: TObject;
42-
IsColumn: boolean; sIndex, tIndex: integer);
42+
{%H-}IsColumn: boolean; {%H-}sIndex, {%H-}tIndex: integer);
4343
procedure AddColumn(var GridColumn: TGridColumn; index: integer);
4444
procedure UpdateColumnTag;
4545
procedure WriteCell(GridColumn: TGridColumn; const Str: UTF8String);

source/main.pas

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,15 +1430,18 @@ procedure TFormTrackerModify.ViewUpdateEnd;
14301430
end;
14311431

14321432
procedure TFormTrackerModify.ViewUpdateFormCaption;
1433-
var
1434-
ProcessTimeStr: string;
1435-
Hour, Minute, Second, MilliSecond: word;
1433+
//var
1434+
//ProcessTimeStr: string;
1435+
// Hour, Minute, Second, MilliSecond: word;
14361436
begin
1437-
//Show user how many files are loaded
1437+
//Called when user load the torrent + update the torrent.
1438+
1439+
{ //for performance debugging.
14381440
DecodeTime(FProcessTimeTotal, Hour, Minute, Second, MilliSecond);
14391441
ProcessTimeStr := IntToStr((Second * 1000) + MilliSecond) + ' mSec';
1442+
}
14401443

1441-
//Called when user load the torrent + update the torrent.
1444+
//Show user how many files are loaded
14421445
Caption := FORM_CAPTION + '( Torrent files: ' +
14431446
IntToStr(FTorrentFileNameList.Count) + ' )';
14441447
// + ' (Process Time: ' + ProcessTimeStr + ' )'; //for debug purpose.

0 commit comments

Comments
 (0)