summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:02:35 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:02:35 +1100
commit69b7203e6f7c93419aa1a0862962e128d68679e1 (patch)
treed9cd982618547be4c12221cd74acef834b7cc5f4 /auth.c
parent429fcc23db22469ca48d18ad4a2940a265965caf (diff)
- deraadt@cvs.openbsd.org 2006/03/20 17:10:19
[auth.c key.c misc.c packet.c ssh-add.c] in a switch (), break after return or goto is stupid
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/auth.c b/auth.c
index 35bc5ea1d..85c6f8d1d 100644
--- a/auth.c
+++ b/auth.c
@@ -314,7 +314,6 @@ auth_root_allowed(char *method)
314 switch (options.permit_root_login) { 314 switch (options.permit_root_login) {
315 case PERMIT_YES: 315 case PERMIT_YES:
316 return 1; 316 return 1;
317 break;
318 case PERMIT_NO_PASSWD: 317 case PERMIT_NO_PASSWD:
319 if (strcmp(method, "password") != 0) 318 if (strcmp(method, "password") != 0)
320 return 1; 319 return 1;