[sr-dev] git:4.4:aea83a03: dialog: remove return statement from void functions

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 5 11:57:32 CEST 2016


Module: kamailio
Branch: 4.4
Commit: aea83a031cfb9a774d855462f50e4311cf9f7b43
URL: https://github.com/kamailio/kamailio/commit/aea83a031cfb9a774d855462f50e4311cf9f7b43

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

dialog: remove return statement from void functions

(cherry picked from commit d90f3b86299223cd37fc21bf6af718540c76b380)

---

Modified: modules/dialog/dlg_handlers.c

---

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

---

diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index 36a807f..6b12d0a 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