mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 21:50:18 +02:00
* small cleanup, remove redundant result assignment and unused variable (from Lagprogramming on forum)
This commit is contained in:
parent
0c37a1483d
commit
6a33f68fca
@ -180,9 +180,8 @@ end;
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
function CompareStr(const S1, S2: string): Integer;
|
function CompareStr(const S1, S2: string): Integer;
|
||||||
var res,count, count1, count2: SizeInt;
|
var count, count1, count2: SizeInt;
|
||||||
begin
|
begin
|
||||||
result := 0;
|
|
||||||
Count1 := Length(S1);
|
Count1 := Length(S1);
|
||||||
Count2 := Length(S2);
|
Count2 := Length(S2);
|
||||||
if Count1>Count2 then
|
if Count1>Count2 then
|
||||||
|
Loading…
Reference in New Issue
Block a user