diff --git a/src/peers.c b/src/peers.c index 1644728a5..95b4b9f16 100644 --- a/src/peers.c +++ b/src/peers.c @@ -1705,7 +1705,6 @@ static inline int peer_send_teach_stage2_msgs(struct appctx *appctx, struct peer static int peer_treat_updatemsg(struct appctx *appctx, struct peer *p, int updt, int exp, char **msg_cur, char *msg_end, int msg_len, int totl) { - struct stconn *sc = appctx_sc(appctx); struct shared_table *st = p->remote_table; struct stksess *ts, *newts; uint32_t update; @@ -2153,7 +2152,6 @@ static inline int peer_treat_switchmsg(struct appctx *appctx, struct peer *p, static inline int peer_treat_definemsg(struct appctx *appctx, struct peer *p, char **msg_cur, char *msg_end, int totl) { - struct stconn *sc = appctx_sc(appctx); int table_id_len; struct shared_table *st; int table_type;