From dba1132e79d5051fa5c7d24069f64dce91d1133e Mon Sep 17 00:00:00 2001 From: Roland Bengtsson Date: Fri, 6 Dec 2024 23:19:54 +0200 Subject: [PATCH] Compiler hint cleanup. #20 --- Source/Bold.inc | 2 +- Source/BoldSubscription.pas | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Bold.inc b/Source/Bold.inc index 97ef6e2..755fa20 100644 --- a/Source/Bold.inc +++ b/Source/Bold.inc @@ -203,7 +203,7 @@ Illegal symbol combination // IndexColumn creates an extra Index column in MemberMappingTable {.$DEFINE IndexColumn} -//Includes BoldJson and BoldObjectRepresentationJson - includes LkJSON v1.07 +//Adds brJson StringRepresentation via BoldObjectRepresentationJson unit {$DEFINE BoldJson} // BoldSystem broadcasts member events - allows getting events from all objects and their members by only placing one subscription on system diff --git a/Source/BoldSubscription.pas b/Source/BoldSubscription.pas index 5bf9021..e88fb72 100644 --- a/Source/BoldSubscription.pas +++ b/Source/BoldSubscription.pas @@ -554,9 +554,7 @@ procedure TBoldSubscription.ExtendEvents(Events: TBoldSmallEventSet); end; procedure TBoldSubscriber.ClearEntry(Index: integer); -var Publisher: TBoldPublisher; begin - Publisher := Subscriptions[Index].Publisher; Subscriptions[Index].Publisher := nil; // Attempt to reuse empty places if fSubscriptionCount-1 = index then