From ad4dc0e99a86f9c79445273e7525ae29d5fd8fc0 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Thu, 9 Feb 2023 21:40:26 +0000 Subject: [PATCH] TvPlanIt: Fix missing initialization of TVpCalendar.IsHoliday function result. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8699 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/source/vpcalendar.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/components/tvplanit/source/vpcalendar.pas b/components/tvplanit/source/vpcalendar.pas index 7bc9806e6..7c4f831e2 100644 --- a/components/tvplanit/source/vpcalendar.pas +++ b/components/tvplanit/source/vpcalendar.pas @@ -1426,6 +1426,7 @@ end; function TVpCustomCalendar.IsHoliday(ADate: TDate; out AHolidayName: String): Boolean; begin + Result := false; AHolidayName := ''; if Assigned(FOnHoliday) then begin