diff --git a/lcl/include/imglist.inc b/lcl/include/imglist.inc index 52aa79de9e..69491bb923 100644 --- a/lcl/include/imglist.inc +++ b/lcl/include/imglist.inc @@ -174,7 +174,6 @@ procedure TCustomImageList.AllocData(ACount: Integer); var n: Integer; begin - Assert(FAllocCount >= FCount, 'Less space allocated than images'); if FAllocCount >= ACount then Exit;