Author: herb
Date: 2006-12-12 20:27:01 +0000 (Tue, 12 Dec 2006)
New Revision: 20132

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

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

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


Changeset:
Modified: branches/SAMBA_3_0/source/libads/sasl.c
===================================================================
--- branches/SAMBA_3_0/source/libads/sasl.c     2006-12-12 20:15:47 UTC (rev 
20131)
+++ branches/SAMBA_3_0/source/libads/sasl.c     2006-12-12 20:27:01 UTC (rev 
20132)
@@ -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