From: Volker Lendecke Date: Sun, 29 Jan 2012 13:58:43 +0000 (+0100) Subject: s3: Fix unused variable warnings X-Git-Tag: tevent-0.9.15~159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0db70861ef1ebd9273d161231a4499a1eb07c4ff;p=thirdparty%2Fsamba.git s3: Fix unused variable warnings Autobuild-User: Volker Lendecke Autobuild-Date: Sun Jan 29 16:33:29 CET 2012 on sn-devel-104 --- diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c index a2bd8be493c..4a6642eef72 100644 --- a/source3/passdb/machine_account_secrets.c +++ b/source3/passdb/machine_account_secrets.c @@ -88,7 +88,9 @@ bool secrets_clear_domain_protection(const char *domain) bool secrets_store_domain_sid(const char *domain, const struct dom_sid *sid) { +#if _SAMBA_BUILD_ == 4 char *protect_ids; +#endif bool ret; #if _SAMBA_BUILD_ == 4 @@ -132,7 +134,9 @@ bool secrets_fetch_domain_sid(const char *domain, struct dom_sid *sid) bool secrets_store_domain_guid(const char *domain, struct GUID *guid) { +#if _SAMBA_BUILD_ == 4 char *protect_ids; +#endif fstring key; #if _SAMBA_BUILD_ == 4