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_3_0_0_beta0~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1529aec1d3aa02570e45220b568c0f1249cc4346;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 e01a684b8c9..f437786d174 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -305,6 +305,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 dcadadaed08..ab65a5e0be4 100644 --- a/src/main/conffile.c +++ b/src/main/conffile.c @@ -1601,6 +1601,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: @@ -1721,6 +1722,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: