Commit 3cb81c9f authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Comment intentional case fall-throughs

CID 174223
CID 174227
CID 174461
CID 174519
CID 229602
CID 319040
CID 319137
CID 319159
parent ac55cbae
......@@ -658,6 +658,7 @@ int main(int argc, char **argv)
case 0:
printf("NOTICE: The -i option is deprecated, use -if instead\n");
SLEEP(2000);
// fall-through
case 'F':
ciolib_mode=CIOLIB_MODE_CURSES_IBM;
break;
......
......@@ -175,6 +175,7 @@ int main(int argc, char** argv)
switch(tolower(argv[i][1])) {
case 'b':
bodyfp=stdout;
// fall-through
case 'c':
ctrlfp=stdout;
break;
......
......@@ -1409,6 +1409,7 @@ int main(int argc, char **argv, char** env)
break;
default:
fprintf(stderr,"\n!Unsupported option: %s\n",argv[argn]);
// fall-through
case '?':
usage();
return(do_bail(1));
......
......@@ -621,6 +621,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
break;
case TERM_KEY_RIGHT:
newline();
// fall-through
case 0:
case '+':
if(smb.curmsg<smb.msgs-1) smb.curmsg++;
......@@ -628,6 +629,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
break;
case TERM_KEY_LEFT:
newline();
// fall-through
case '-':
if(smb.curmsg>0) smb.curmsg--;
break;
......
......@@ -1964,6 +1964,7 @@ int main(int argc, char** argv) {
case 0:
printf("NOTICE: The -i option is deprecated, use -if instead\n");
SLEEP(2000);
// fall-through
case 'F':
ciolib_mode=CIOLIB_MODE_CURSES_IBM;
break;
......
......@@ -922,6 +922,7 @@ int main(int argc, char** argv) {
case 0:
printf("NOTICE: The -i option is deprecated, use -if instead\n");
SLEEP(2000);
// fall-through
case 'F':
ciolib_mode=CIOLIB_MODE_CURSES_IBM;
break;
......
......@@ -5931,6 +5931,7 @@ static BOOL ssjs_send_headers(http_session_t* session,int chunked)
* the gun at the script writers foot for them */
chunked = false;
session->req.manual_length = TRUE;
// fall-through
default:
safe_snprintf(str,sizeof(str),"%s: %s",p,p2);
strListPush(&session->req.dynamic_heads,str);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment