Fix some compiler warnings on Linux:
authorKen Raeburn <raeburn@mit.edu>
Wed, 7 Dec 2005 21:48:20 +0000 (21:48 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 7 Dec 2005 21:48:20 +0000 (21:48 +0000)
* ccbase.c: Include ctype.h.
(struct krb5_cc_typelist): Field ops now points to const.

* ccdefault.c (krb5_cc_default): Delete unused variable "retval".

git-svn-id: svn://anonsvn.mit.edu/krb5/tags/krb5-1-3-6-final@17551 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ChangeLog
src/lib/krb5/ccache/ccbase.c
src/lib/krb5/ccache/ccdefault.c

index bc7ca4f6d714e6e9a5b6ecc91fbe439b422f2145..c206e31bbff1a7f0ec728af0797811c3841644dc 100644 (file)
@@ -1,3 +1,10 @@
+2005-12-07  Ken Raeburn  <raeburn@mit.edu>
+
+       * ccbase.c: Include ctype.h.
+       (struct krb5_cc_typelist): Field ops now points to const.
+
+       * ccdefault.c (krb5_cc_default): Delete unused variable "retval".
+
 2004-09-01  Jeffrey Altman <jaltman@mit.edu>
 
         * cc_mslsa.c: 
index 8bb178e2ab05063089c27951dc3492aa49358f62..4a7857bee1d6f763aaf459ea0ec83d6462f4e40f 100644 (file)
  * Registration functions for ccache.
  */
 
+#include <ctype.h>
 #include "k5-int.h"
 
 #include "fcc.h"
 
 struct krb5_cc_typelist
  {
-  krb5_cc_ops *ops;
+  const krb5_cc_ops *ops;
   struct krb5_cc_typelist *next;
  };
 extern const krb5_cc_ops krb5_mcc_ops;
index 8a45a243b8df7d5dfdf19db5243c1a9453be894c..95e83b8514d07016dd22d27527f8984786c8bbef 100644 (file)
@@ -42,7 +42,6 @@ static HANDLE hLeashDLL = INVALID_HANDLE_VALUE;
 krb5_error_code KRB5_CALLCONV
 krb5_cc_default(krb5_context context, krb5_ccache *ccache)
 {
-       krb5_error_code retval;
        krb5_os_context os_ctx;
 
        if (!context || context->magic != KV5M_CONTEXT)