Skip to content

Commit

Permalink
fix build warning
Browse files Browse the repository at this point in the history
Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin committed Aug 26, 2024
1 parent db05d64 commit 18dae3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -3320,7 +3320,7 @@ int clusterProcessPacket(clusterLink *link) {

/* The later updateShardId may change myself shard_id, and we
* need to remember whether this change has occurred. */
if (sender_claimed_primary->shard_id && myself != sender && myself->replicaof == sender) {
if (myself != sender && myself->replicaof == sender) {
myself_shard_id_changed = 1;
}

Expand Down

0 comments on commit 18dae3e

Please sign in to comment.