mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 14:19:08 +02:00
Packager: fixed uninitialized variable
git-svn-id: trunk@28508 -
This commit is contained in:
parent
732d614598
commit
f2608b3106
@ -548,8 +548,10 @@ begin
|
|||||||
|
|
||||||
NewPkgLink.NotFoundCount:=
|
NewPkgLink.NotFoundCount:=
|
||||||
XMLConfig.GetValue(ItemPath+'NotFoundCount/Value',0);
|
XMLConfig.GetValue(ItemPath+'NotFoundCount/Value',0);
|
||||||
CfgStrToDate(XMLConfig.GetValue(ItemPath+'LastUsed/Value',''),
|
if not CfgStrToDate(XMLConfig.GetValue(ItemPath+'LastUsed/Value',''),
|
||||||
NewPkgLink.FLastUsed);
|
NewPkgLink.FLastUsed)
|
||||||
|
then
|
||||||
|
NewPkgLink.FLastUsed := 0;
|
||||||
|
|
||||||
if NewPkgLink.MakeSense then begin
|
if NewPkgLink.MakeSense then begin
|
||||||
FUserLinksSortID.Add(NewPkgLink);
|
FUserLinksSortID.Add(NewPkgLink);
|
||||||
|
Loading…
Reference in New Issue
Block a user