mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 20:59:10 +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:=
|
||||
XMLConfig.GetValue(ItemPath+'NotFoundCount/Value',0);
|
||||
CfgStrToDate(XMLConfig.GetValue(ItemPath+'LastUsed/Value',''),
|
||||
NewPkgLink.FLastUsed);
|
||||
if not CfgStrToDate(XMLConfig.GetValue(ItemPath+'LastUsed/Value',''),
|
||||
NewPkgLink.FLastUsed)
|
||||
then
|
||||
NewPkgLink.FLastUsed := 0;
|
||||
|
||||
if NewPkgLink.MakeSense then begin
|
||||
FUserLinksSortID.Add(NewPkgLink);
|
||||
|
Loading…
Reference in New Issue
Block a user