[sr-dev] git:master:17123659: textopsx: remove unused variables

Daniel-Constantin Mierla miconda at gmail.com
Tue May 2 15:12:29 CEST 2017


Module: kamailio
Branch: master
Commit: 171236590aab6a7dbf5a79fdcc110745af891e19
URL: https://github.com/kamailio/kamailio/commit/171236590aab6a7dbf5a79fdcc110745af891e19

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-05-02T15:10:53+02:00

textopsx: remove unused variables

---

Modified: src/modules/textopsx/textopsx.c

---

Diff:  https://github.com/kamailio/kamailio/commit/171236590aab6a7dbf5a79fdcc110745af891e19.diff
Patch: https://github.com/kamailio/kamailio/commit/171236590aab6a7dbf5a79fdcc110745af891e19.patch

---

diff --git a/src/modules/textopsx/textopsx.c b/src/modules/textopsx/textopsx.c
index 9b78ea5..7f99a39 100644
--- a/src/modules/textopsx/textopsx.c
+++ b/src/modules/textopsx/textopsx.c
@@ -314,8 +314,6 @@ static int change_reply_status_f(
 {
 	int code;
 	str reason;
-	struct lump *l;
-	char *ch;
 
 	if(get_int_fparam(&code, msg, (fparam_t *)_code)
 			|| get_str_fparam(&reason, msg, (fparam_t *)_reason)) {
@@ -2163,4 +2161,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
 	sr_kemi_modules_add(sr_kemi_textopsx_exports);
 	return 0;
-}
\ No newline at end of file
+}




More information about the sr-dev mailing list