From: Alan T. DeKok Date: Wed, 19 Oct 2011 15:08:58 +0000 (+0200) Subject: Add FALL-THROUGH for 'case' without 'break' X-Git-Tag: release_2_2_0~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b19ebc2ccb710606a680b9874fcda71f6259698;p=thirdparty%2Ffreeradius-server.git Add FALL-THROUGH for 'case' without 'break' --- diff --git a/src/main/auth.c b/src/main/auth.c index 72aa0894356..6bd8ded449d 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -306,6 +306,7 @@ static int rad_check_password(REQUEST *request) case -1: rad_authlog("Login incorrect " "(system failed to supply an encrypted password for comparison)", request, 0); + /* FALL-THROUGH */ case 1: return -1; } diff --git a/src/main/conffile.c b/src/main/conffile.c index 4e159fde893..dd3692f9916 100644 --- a/src/main/conffile.c +++ b/src/main/conffile.c @@ -1561,6 +1561,7 @@ static int cf_section_read(const char *filename, int *lineno, FILE *fp, filename, *lineno); return -1; } + /* FALL-THROUGH */ case T_OP_EQ: case T_OP_SET: @@ -1681,6 +1682,7 @@ static int cf_section_read(const char *filename, int *lineno, FILE *fp, filename, *lineno, buf1, buf2); return -1; } + /* FALL-THROUGH */ case T_LCBRACE: section_alloc: