summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-14 06:34:53 +0000
committerMartin Pool <mbp@samba.org>2002-01-14 06:34:53 +0000
commit312c6d906e64d231ff3c2f37e61d752cc948ee7b (patch)
tree69610e24e1f16357f43d120bac7ac78e1a247f49
parentca233bc8b30d7d0626039b2769c4e1ae92dafd50 (diff)
downloadsamba-312c6d906e64d231ff3c2f37e61d752cc948ee7b.tar.gz
samba-312c6d906e64d231ff3c2f37e61d752cc948ee7b.tar.xz
samba-312c6d906e64d231ff3c2f37e61d752cc948ee7b.zip
Move local variable to avoid warning when compiled without GSSAPI.
-rw-r--r--source/libads/ads_status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libads/ads_status.c b/source/libads/ads_status.c
index a28fd7b6713..d54ce9745aa 100644
--- a/source/libads/ads_status.c
+++ b/source/libads/ads_status.c
@@ -52,7 +52,6 @@ NTSTATUS ads_ntstatus(ADS_STATUS rc)
*/
const char *ads_errstr(ADS_STATUS status)
{
- uint32 minor;
int msg_ctx;
static char *ret;
@@ -73,6 +72,8 @@ const char *ads_errstr(ADS_STATUS status)
#ifdef HAVE_GSSAPI
case ADS_ERROR_GSS:
{
+ uint32 minor;
+
gss_buffer_desc msg1, msg2;
msg1.value = NULL;
msg2.value = NULL;