This repository was archived by the owner on May 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ begin
214214 ReleaseType := rtIncompatible;
215215 end ;
216216
217- if Ref = Null then
217+ if Ref = nil then
218218 Ref := TObject.Create();
219219 end ;
220220 end ;
@@ -306,7 +306,6 @@ function GetFirstReleaseOfType(Releases: array of TElixirRelease; ReleaseType: T
306306var
307307 i: Integer;
308308begin
309- Result := Null;
310309 for i := 0 to GetArrayLength(Releases) - 1 do begin
311310 if Releases[i].ReleaseType = ReleaseType then begin
312311 Result := Releases[i];
@@ -367,16 +366,14 @@ end;
367366function ShouldSkipPage (PageID: Integer): Boolean;
368367begin
369368 if PageID = GlobalPageSelRelease.ID then begin
370- Result := not (GlobalPageSelInstallType.CheckListBox.ItemObject[GlobalPageSelInstallType.SelectedValueIndex] = Null );
369+ Result := not (GlobalPageSelInstallType.CheckListBox.ItemObject[GlobalPageSelInstallType.SelectedValueIndex] = nil );
371370 end else begin
372371 Result := False;
373372 end ;
374373end ;
375374
376375procedure InitializeWizard ();
377376begin
378- CacheSelectedRelease := Null;
379-
380377 GlobalPageSelInstallType := CreateInputOptionPage(
381378 wpWelcome,
382379 ' Select Elixir installation type' ,
You can’t perform that action at this time.
0 commit comments