Browse Source

dialog: remove return statement from void functions

Spencer Thomason 9 năm trước cách đây
mục cha
commit
d90f3b8629
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      modules/dialog/dlg_handlers.c

+ 2 - 2
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);
 }