summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/ads_status.c3
1 files changed, 2 insertions, 1 deletions
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;