Skip to content

Commit

Permalink
Compiler hint cleanup. #20
Browse files Browse the repository at this point in the history
  • Loading branch information
bero committed Dec 6, 2024
1 parent 235f136 commit dba1132
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Bold.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions Source/BoldSubscription.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dba1132

Please sign in to comment.