[sr-dev] git:master:d90f3b86: dialog: remove return statement from void functions

Spencer Thomason spencer at whiteskycommunications.com
Mon Jul 4 09:45:20 CEST 2016


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

Author: Spencer Thomason <spencer at whiteskycommunications.com>
Committer: Spencer Thomason <spencer at whiteskycommunications.com>
Date: 2016-07-01T07:33:42-07:00

dialog: remove return statement from void functions

---

Modified: modules/dialog/dlg_handlers.c

---

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

---

diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index c5c748e..cb3523d 100644
--- a/modules/dialog/dlg_handlers.c
+++ b/modules/dialog/dlg_handlers.c
@@ -598,7 +598,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);
 }
 
 
@@ -611,7 +611,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