summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-14 14:54:52 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-15 08:49:33 +0100
commit81db8319732925ce2fbf8d853feac2abb0a8a59d (patch)
tree9821b4948339d0eb04da09811825d8edd826868f /source4/auth/gensec
parent339dcbb64169abe9c1b810140eaef25a17a9a690 (diff)
downloadsamba-81db8319732925ce2fbf8d853feac2abb0a8a59d.tar.gz
samba-81db8319732925ce2fbf8d853feac2abb0a8a59d.tar.bz2
samba-81db8319732925ce2fbf8d853feac2abb0a8a59d.zip
cyrus_sasl: fix compiler warnings
metze (This used to be commit 558c717c6c279b739633e26855910b61b792e7b6)
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/cyrus_sasl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/auth/gensec/cyrus_sasl.c b/source4/auth/gensec/cyrus_sasl.c
index 64a0b2f0c7..cb7bcb71d8 100644
--- a/source4/auth/gensec/cyrus_sasl.c
+++ b/source4/auth/gensec/cyrus_sasl.c
@@ -362,8 +362,11 @@ int gensec_sasl_log(void *context,
NTSTATUS gensec_sasl_init(void)
{
NTSTATUS ret;
- int sasl_ret, i;
+ int sasl_ret;
+#if 0
+ int i;
const char **sasl_mechs;
+#endif
static const sasl_callback_t callbacks[] = {
{