Module: kamailio
Branch: master
Commit: ed553e3d4d667d454352b4b8656260936d79af18
URL:
https://github.com/kamailio/kamailio/commit/ed553e3d4d667d454352b4b86562609…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-05-02T15:08:45+02:00
diversion: fix compilation warnings
---
Modified: src/modules/diversion/diversion.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ed553e3d4d667d454352b4b86562609…
Patch:
https://github.com/kamailio/kamailio/commit/ed553e3d4d667d454352b4b86562609…
---
diff --git a/src/modules/diversion/diversion.c b/src/modules/diversion/diversion.c
index 21b2cf2..83bfd0d 100644
--- a/src/modules/diversion/diversion.c
+++ b/src/modules/diversion/diversion.c
@@ -169,8 +169,6 @@ int add_diversion_uri(sip_msg_t* msg, str* reason, str* uri)
int w_add_diversion(struct sip_msg* msg, char* r, char* u)
{
- str div_hf;
- char *at;
str uri;
str reason;
@@ -235,4 +233,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_diversion_exports);
return 0;
-}
\ No newline at end of file
+}