1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Move local variable to avoid warning when compiled without GSSAPI.

(This used to be commit 312c6d906e)
This commit is contained in:
Martin Pool 2002-01-14 06:34:53 +00:00
parent 1b6c848c10
commit 6059f40763

View File

@ -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;