[sr-dev] git:master:6021f1db: presence: removed unused variables

Daniel-Constantin Mierla miconda at gmail.com
Tue May 30 12:38:13 CEST 2017


Module: kamailio
Branch: master
Commit: 6021f1db834ccbed6f01027c2bb5d00c5947b7d6
URL: https://github.com/kamailio/kamailio/commit/6021f1db834ccbed6f01027c2bb5d00c5947b7d6

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-05-30T12:37:37+02:00

presence: removed unused variables

---

Modified: src/modules/presence/presence.c

---

Diff:  https://github.com/kamailio/kamailio/commit/6021f1db834ccbed6f01027c2bb5d00c5947b7d6.diff
Patch: https://github.com/kamailio/kamailio/commit/6021f1db834ccbed6f01027c2bb5d00c5947b7d6.patch

---

diff --git a/src/modules/presence/presence.c b/src/modules/presence/presence.c
index cc71171003..9bd1f22a88 100644
--- a/src/modules/presence/presence.c
+++ b/src/modules/presence/presence.c
@@ -575,9 +575,6 @@ static void destroy(void)
 
 static int fixup_presence(void** param, int param_no)
 {
-	pv_elem_t *model;
-	str s;
-
 	if(library_mode) {
 		LM_ERR("Bad config - you can not call 'handle_publish' function"
 				" (db_url not set)\n");
@@ -1933,4 +1930,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
 	sr_kemi_modules_add(sr_kemi_presence_exports);
 	return 0;
-}
\ No newline at end of file
+}




More information about the sr-dev mailing list