Author: herb
Date: 2006-12-13 21:27:45 +0000 (Wed, 13 Dec 2006)
New Revision: 20158

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20158

Log:
get rid of defined but not used warning - static function only used
inside the #ifdef HAVE_KRB5

Modified:
   branches/SAMBA_3_0_24/source/libads/sasl.c


Changeset:
Modified: branches/SAMBA_3_0_24/source/libads/sasl.c
===================================================================
--- branches/SAMBA_3_0_24/source/libads/sasl.c  2006-12-13 21:24:02 UTC (rev 
20157)
+++ branches/SAMBA_3_0_24/source/libads/sasl.c  2006-12-13 21:27:45 UTC (rev 
20158)
@@ -136,6 +136,7 @@
        return ADS_ERROR(rc);
 }
 
+#ifdef HAVE_KRB5
 /* 
    perform a LDAP/SASL/SPNEGO/KRB5 bind
 */
@@ -165,6 +166,7 @@
 
        return ADS_ERROR(rc);
 }
+#endif
 
 /* 
    this performs a SASL/SPNEGO bind

Reply via email to