Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
92d91fb1
Commit
92d91fb1
authored
Feb 23, 2022
by
Rob Swindell
💬
Browse files
Comment intentional case statement fall-throughs
CID 33207 CID 33208 CID 33209
parent
7be94765
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/sbbs3/ars.c
src/sbbs3/ars.c
+3
-0
No files found.
src/sbbs3/ars.c
View file @
92d91fb1
...
...
@@ -575,6 +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
case
AR_AGE
:
/* byte operands */
case
AR_PCR
:
case
AR_UDR
:
...
...
@@ -590,6 +591,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf)
case
AR_BPS
:
/* int operands */
if
(
n
<
300
)
n
*=
100
;
// fall-through
case
AR_MAIN_CMDS
:
case
AR_FILE_CMDS
:
case
AR_EXPIRE
:
...
...
@@ -628,6 +630,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf)
case
AR_DIRCODE
:
case
AR_SHELL
:
maxlen
=
LEN_EXTCODE
;
// fall-through
case
AR_PROT
:
case
AR_HOST
:
case
AR_IP
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment