From 548811dad9c60b6c62025ca334b2331ddfb99cbf Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Wed, 23 Feb 2022 22:51:45 -0800
Subject: [PATCH] Document intentional case fall-throughs

CID 33210
CID 33211
---
 src/sbbs3/ars.c        | 2 +-
 src/sbbs3/execfunc.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sbbs3/ars.c b/src/sbbs3/ars.c
index 80d6908c8b..72c3ff31f3 100644
--- a/src/sbbs3/ars.c
+++ b/src/sbbs3/ars.c
@@ -575,7 +575,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf)
 				case AR_DAY:
 					if(n>6)     /* not past saturday */
 						n=6;
-					// Fall-through
+					// fall-through
 				case AR_AGE:    /* byte operands */
 				case AR_PCR:
 				case AR_UDR:
diff --git a/src/sbbs3/execfunc.cpp b/src/sbbs3/execfunc.cpp
index f691e2ba4d..35efc0b874 100644
--- a/src/sbbs3/execfunc.cpp
+++ b/src/sbbs3/execfunc.cpp
@@ -314,7 +314,7 @@ int sbbs_t::exec_function(csi_t *csi)
 			}
 			if(!chksyspass())
 				return(0);
-
+			// fall-through
 		case CS_FILE_SEND:
 
 			csi->logic=sendfile(csi->str) ? LOGIC_TRUE:LOGIC_FALSE;
@@ -324,7 +324,7 @@ int sbbs_t::exec_function(csi_t *csi)
 			csi->logic=LOGIC_FALSE;
 			if(!chksyspass())
 				return(0);
-
+			// fall-through
 		case CS_FILE_RECEIVE:
 			csi->logic=recvfile(csi->str) ? LOGIC_TRUE:LOGIC_FALSE;
 			return(0);
-- 
GitLab