* login.c: Add braces around initializers. Cleanup assignments in
authorEzra Peisach <epeisach@mit.edu>
Fri, 1 Jun 2001 22:01:12 +0000 (22:01 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 1 Jun 2001 22:01:12 +0000 (22:01 +0000)
commit244617a41d4df7719756be320f385bfc48fd4f28
treea43d55f45c5a48139c3296e87a87cabc32a6ef01
parentac31fbb3e0bf91b21cb15c4123b7e4c87a6cb9bf
* login.c: Add braces around initializers. Cleanup assignments in
conditionals.  Include krb524.h if KRB4_CONVERT defined.

* krlogind.c (main): Cleanup unused variables.
(protocol): Cleanup ambiguous if-if-else warning.

* krshd.c (main): Cleanup unused variables.

* krlogin.c (setsignal): Declare as void.
(server_message): Cleanup unused variables.

* setenv.c (setenv): Declare as returning int and clean up
assignments in conditionals.

* kcmd.c (kcmd, rcmd_stream_init_krb5, v5_des_read): Clean up
unused variables and assignments in conditionals.
* forward.c (rd_and_store_for_creds): Likewise.
* krcp.c (rsource): Likewise.
* v4rcp.c (answer_auth): Likewise.

* krsh.c (main): Declare as retuning int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13257 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/bsd/ChangeLog
src/appl/bsd/forward.c
src/appl/bsd/kcmd.c
src/appl/bsd/krcp.c
src/appl/bsd/krlogin.c
src/appl/bsd/krlogind.c
src/appl/bsd/krsh.c
src/appl/bsd/krshd.c
src/appl/bsd/login.c
src/appl/bsd/setenv.c
src/appl/bsd/v4rcp.c