mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-22 16:56:03 +02:00
* Micro-optimization. Fix issue #39617
This commit is contained in:
parent
2f28c5596f
commit
2a19e152b7
@ -1476,6 +1476,8 @@ Var
|
||||
Obj : TObject;
|
||||
Str : String;
|
||||
begin
|
||||
if (CurIndex=NewIndex) then
|
||||
Exit;
|
||||
BeginUpdate;
|
||||
Try
|
||||
Obj:=Objects[CurIndex];
|
||||
|
Loading…
Reference in New Issue
Block a user