Only declare cc_fcc_entry if USE_KEYRING_CCACHE is not defined
authorEzra Peisach <epeisach@mit.edu>
Sun, 21 Jan 2007 19:15:02 +0000 (19:15 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sun, 21 Jan 2007 19:15:02 +0000 (19:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19102 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ccbase.c

index 1a9f5afc5f7878f6727d789309f4fd1e336c85b7..c2084c5542966948d9cddeb055fd591e5e744941 100644 (file)
@@ -71,8 +71,11 @@ static struct krb5_cc_typelist cc_krcc_entry = { &krb5_krcc_ops,
 #endif /* USE_KEYRING_CCACHE */
 #endif
 
+#ifndef USE_KEYRING_CCACHE
 static struct krb5_cc_typelist cc_fcc_entry = { &krb5_cc_file_ops,
                                                &cc_mcc_entry };
+#endif
+
 #ifdef USE_KEYRING_CCACHE
 #define INITIAL_TYPEHEAD (&cc_krcc_entry)
 #else