diff --git a/packager/addpkgdependencydlg.pas b/packager/addpkgdependencydlg.pas index 2e1820893b..95adc38688 100644 --- a/packager/addpkgdependencydlg.pas +++ b/packager/addpkgdependencydlg.pas @@ -325,7 +325,7 @@ end; procedure TAddPkgDependencyDialog.OKButtonClick(Sender: TObject); var - NewDependency: TPkgDependency; + NewDependency: TPkgDependency = nil; MinVerTest, MaxVerTest: TPkgVersion; MinMaxVerFlags: TPkgDependencyFlags; i: Integer;