diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 14:02:35 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 14:02:35 +1100 |
commit | 69b7203e6f7c93419aa1a0862962e128d68679e1 (patch) | |
tree | d9cd982618547be4c12221cd74acef834b7cc5f4 /auth.c | |
parent | 429fcc23db22469ca48d18ad4a2940a265965caf (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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |