[sr-dev] git:4.3:f53f24ca: dialog: remove return statement from void functions

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 5 12:06:15 CEST 2016


Module: kamailio
Branch: 4.3
Commit: f53f24ca238417b39d8fbf3ac727a48ab1cc9107
URL: https://github.com/kamailio/kamailio/commit/f53f24ca238417b39d8fbf3ac727a48ab1cc9107

Author: Spencer Thomason <spencer at whiteskycommunications.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-07-05T12:02:27+02:00

dialog: remove return statement from void functions

(cherry picked from commit d90f3b86299223cd37fc21bf6af718540c76b380)
(cherry picked from commit aea83a031cfb9a774d855462f50e4311cf9f7b43)

---

Modified: modules/dialog/dlg_handlers.c

---

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

---

diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index 9a4d343..fcaa16d 100644
--- a/modules/dialog/dlg_handlers.c
+++ b/modules/dialog/dlg_handlers.c
@@ -603,7 +603,7 @@ static void dlg_seq_onreply_helper(struct cell* t, int type,
  */
 static void dlg_seq_up_onreply(struct cell* t, int type, struct tmcb_params *param)
 {
-	return dlg_seq_onreply_helper(t, type, param, DLG_DIR_UPSTREAM);
+	dlg_seq_onreply_helper(t, type, param, DLG_DIR_UPSTREAM);
 }
 
 
@@ -616,7 +616,7 @@ static void dlg_seq_up_onreply(struct cell* t, int type, struct tmcb_params *par
  */
 static void dlg_seq_down_onreply(struct cell* t, int type, struct tmcb_params *param)
 {
-	return dlg_seq_onreply_helper(t, type, param, DLG_DIR_DOWNSTREAM);
+	dlg_seq_onreply_helper(t, type, param, DLG_DIR_DOWNSTREAM);
 }
 
 




More information about the sr-dev mailing list