Module: kamailio
Branch: master
Commit: 43b1f9de4538c0739a133c0181a4df97c23c5769
URL:
https://github.com/kamailio/kamailio/commit/43b1f9de4538c0739a133c0181a4df9…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-09-27T14:02:47+02:00
pv: remove unused variable
pv_core.c: In function 'pv_get_protoid':
pv_core.c:1259:6: warning: unused variable 's' [-Wunused-variable]
str s;
^
---
Modified: src/modules/pv/pv_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/43b1f9de4538c0739a133c0181a4df9…
Patch:
https://github.com/kamailio/kamailio/commit/43b1f9de4538c0739a133c0181a4df9…
---
diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c
index 2ef7f5f6c8..b087f5ad1b 100644
--- a/src/modules/pv/pv_core.c
+++ b/src/modules/pv/pv_core.c
@@ -1256,7 +1256,6 @@ int pv_get_proto(struct sip_msg *msg, pv_param_t *param,
int pv_get_protoid(struct sip_msg *msg, pv_param_t *param,
pv_value_t *res)
{
- str s;
if(msg==NULL)
return -1;