There are still some warnings, but this handles the bulk of them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12597
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-08-02 Ezra Peisach <epeisach@mit.edu>
+
+ * kdestroy.c (main): Clean up compiler warnings.
+
2000-03-16 Ezra Peisach <epeisach@mit.edu>
* kdestroy.c: Do not define variables if v4 compatilibilty is not
#endif
-void usage()
+static void usage()
{
#define KRB_AVAIL_STRING(x) ((x)?"available":"not available")
exit(1);
}
} else {
- if (code = krb5_cc_default(kcontext, &cache)) {
+ code = krb5_cc_default(kcontext, &cache);
+ if (code) {
com_err(progname, code, "while getting default ccache");
exit(1);
}