Skip to content

Commit

Permalink
mid_registrar: Fix unused variable
Browse files Browse the repository at this point in the history
(cherry picked from commit 3acaf2e)
  • Loading branch information
liviuchircu committed Jan 17, 2018
1 parent dbfc155 commit f48a0cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/mid_registrar/save.c
Expand Up @@ -1524,7 +1524,7 @@ static inline int save_restore_req_contacts(struct sip_msg *req, struct sip_msg*
ucontact_t* c;
urecord_t *r = NULL;
contact_t *_c;
unsigned int cflags, cseq;
unsigned int cseq;
int e_out = -1;
int e_max = 0;
int tcp_check = 0;
Expand All @@ -1539,7 +1539,6 @@ static inline int save_restore_req_contacts(struct sip_msg *req, struct sip_msg*
return -1;
}

cflags = (mri->reg_flags&REG_SAVE_MEMORY_FLAG)?FL_MEM:FL_NONE;
if (is_tcp_based_proto(req->rcv.proto) && (req->flags & tcp_persistent_flag)) {
tcp_check = 1;
}
Expand Down

0 comments on commit f48a0cc

Please sign in to comment.