Commit 92d91fb1 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Comment intentional case statement fall-throughs

CID 33207
CID 33208
CID 33209
parent 7be94765
...@@ -575,6 +575,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf) ...@@ -575,6 +575,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf)
case AR_DAY: case AR_DAY:
if(n>6) /* not past saturday */ if(n>6) /* not past saturday */
n=6; n=6;
// Fall-through
case AR_AGE: /* byte operands */ case AR_AGE: /* byte operands */
case AR_PCR: case AR_PCR:
case AR_UDR: case AR_UDR:
...@@ -590,6 +591,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf) ...@@ -590,6 +591,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf)
case AR_BPS: /* int operands */ case AR_BPS: /* int operands */
if(n<300) if(n<300)
n*=100; n*=100;
// fall-through
case AR_MAIN_CMDS: case AR_MAIN_CMDS:
case AR_FILE_CMDS: case AR_FILE_CMDS:
case AR_EXPIRE: case AR_EXPIRE:
...@@ -628,6 +630,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf) ...@@ -628,6 +630,7 @@ uchar* arstr(ushort* count, const char* str, scfg_t* cfg, uchar* ar_buf)
case AR_DIRCODE: case AR_DIRCODE:
case AR_SHELL: case AR_SHELL:
maxlen=LEN_EXTCODE; maxlen=LEN_EXTCODE;
// fall-through
case AR_PROT: case AR_PROT:
case AR_HOST: case AR_HOST:
case AR_IP: case AR_IP:
......
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