From 6059f407637327b01ce008dd09634e4a3bbf8f1b Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 14 Jan 2002 06:34:53 +0000 Subject: Move local variable to avoid warning when compiled without GSSAPI. (This used to be commit 312c6d906e64d231ff3c2f37e61d752cc948ee7b) --- source3/libads/ads_status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/libads/ads_status.c b/source3/libads/ads_status.c index a28fd7b671..d54ce9745a 100644 --- a/source3/libads/ads_status.c +++ b/source3/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; -- cgit