Skip to content

Commit 68b99c9

Browse files
committed
style: Removing some hints
1 parent 1423e86 commit 68b99c9

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

utilities/results_generator/Common/resultsgenerator.common.pas

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ interface
1717

1818
type
1919

20-
{ TResult }
21-
20+
{ TResult }
2221
TResult = class
2322
Name: String;
2423
Notes: String;
@@ -28,10 +27,10 @@ TResult = class
2827
constructor Create;
2928
end;
3029

30+
{ TResultsList }
3131
TResultsList = specialize TFPGObjectList<TResult>;
3232

33-
{ TResults }
34-
33+
{ TResults }
3534
TResults = class(TObject)
3635
private
3736
FConfig: TConfig;
@@ -54,8 +53,6 @@ implementation
5453
uses
5554
fpjson
5655
, jsonparser
57-
, Math
58-
, Utilities.ArraySort
5956
;
6057

6158
const
@@ -120,7 +117,7 @@ function TResults.FormatTime(ATime: Double): String;
120117
Result:= '';
121118
intPart:= Trunc(ATime);
122119
minutes:= 0;
123-
if intPart > 60 then
120+
if intPart >= 60 then
124121
begin
125122
repeat
126123
Inc(minutes);

utilities/results_generator/Lazarus/src/resultsgenerator.lpi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<RunParams>
8686
<FormatVersion Value="2"/>
8787
</RunParams>
88-
<Units Count="7">
88+
<Units Count="6">
8989
<Unit0>
9090
<Filename Value="resultsgenerator.lpr"/>
9191
<IsPartOfProject Value="True"/>
@@ -116,11 +116,6 @@
116116
<IsPartOfProject Value="True"/>
117117
<UnitName Value="Utilities.Data.Hyperfine"/>
118118
</Unit5>
119-
<Unit6>
120-
<Filename Value="../../../common/utilities.arraysort.pas"/>
121-
<IsPartOfProject Value="True"/>
122-
<UnitName Value="Utilities.ArraySort"/>
123-
</Unit6>
124119
</Units>
125120
</ProjectOptions>
126121
<CompilerOptions>

0 commit comments

Comments
 (0)