Skip to content
Snippets Groups Projects
Commit 548811da authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Document intentional case fall-throughs

CID 33210
CID 33211
parent 92d91fb1
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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:
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment