Skip to content

Commit

Permalink
Merge pull request #679 from b-n/master
Browse files Browse the repository at this point in the history
Remove unused variables creating compile errors
  • Loading branch information
slact authored Jan 30, 2024
2 parents bacb7b6 + 0492d01 commit 4461dbe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/store/spool.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ static ngx_int_t spool_nextmsg(subscriber_pool_t *spool, nchan_msg_id_t *new_las

static ngx_int_t spool_fetch_msg_callback(ngx_int_t code, nchan_msg_t *msg, fetchmsg_data_t *data) {
nchan_msg_status_t findmsg_status = code;
nchan_msg_status_t prev_status;
subscriber_pool_t *spool, *nuspool;
subscriber_pool_t *spool;
channel_spooler_t *spl = data->spooler;
int free_msg_id = 1;

Expand Down Expand Up @@ -335,8 +334,6 @@ static ngx_int_t spool_fetch_msg_callback(ngx_int_t code, nchan_msg_t *msg, fetc
return NGX_ERROR;
}

prev_status = spool->msg_status;

switch(findmsg_status) {
case MSG_FOUND:
spool->msg_status = findmsg_status;
Expand Down

0 comments on commit 4461dbe

Please sign in to comment.