Module: kamailio
Branch: master
Commit: 2f278aa565e2ee991205f109dc887b106d7d9c24
URL:
https://github.com/kamailio/kamailio/commit/2f278aa565e2ee991205f109dc887b1…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-06-17T17:23:05+02:00
dispatcher: fix compile warning - unused variable 'buf' in ds_add_xavp_record
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2f278aa565e2ee991205f109dc887b1…
Patch:
https://github.com/kamailio/kamailio/commit/2f278aa565e2ee991205f109dc887b1…
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index f5707c11e2..9caaaca8e8 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -1802,7 +1802,6 @@ int ds_add_xavp_record(ds_set_t *dsidx, int pos, int set, int alg,
{
sr_xavp_t *nxavp=NULL;
sr_xval_t nxval;
- char buf[2 + 16 + 1];
/* add destination uri field */
memset(&nxval, 0, sizeof(sr_xval_t));