Skip to content

Commit

Permalink
Remove static to avoid compiler warning (valkey-io#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
madolson authored Jul 28, 2024
1 parent 9211aed commit b4d96ca
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 @@ -1267,7 +1267,7 @@ void clusterReset(int hard) {
/* -----------------------------------------------------------------------------
* CLUSTER communication link
* -------------------------------------------------------------------------- */
static clusterMsgSendBlock *createClusterMsgSendBlock(int type, uint32_t msglen) {
clusterMsgSendBlock *createClusterMsgSendBlock(int type, uint32_t msglen) {
uint32_t blocklen = msglen + offsetof(clusterMsgSendBlock, msg);
clusterMsgSendBlock *msgblock = zcalloc(blocklen);
msgblock->refcount = 1;
Expand Down

0 comments on commit b4d96ca

Please sign in to comment.