move unused variables inside their #if 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8578 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -51,7 +51,6 @@ gss_import_sec_context (
|
|||||||
krb5_data data;
|
krb5_data data;
|
||||||
gss_buffer_desc buffer;
|
gss_buffer_desc buffer;
|
||||||
krb5_keyblock keyblock;
|
krb5_keyblock keyblock;
|
||||||
size_t sz;
|
|
||||||
int32_t tmp;
|
int32_t tmp;
|
||||||
int32_t flags;
|
int32_t flags;
|
||||||
|
|
||||||
@@ -121,6 +120,9 @@ gss_import_sec_context (
|
|||||||
krb5_ret_int32 (sp, &ac->remote_seqnumber);
|
krb5_ret_int32 (sp, &ac->remote_seqnumber);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
{
|
||||||
|
size_t sz;
|
||||||
|
|
||||||
krb5_ret_data (sp, &data);
|
krb5_ret_data (sp, &data);
|
||||||
ac->authenticator = malloc (sizeof (*ac->authenticator));
|
ac->authenticator = malloc (sizeof (*ac->authenticator));
|
||||||
if (ac->authenticator == NULL) {
|
if (ac->authenticator == NULL) {
|
||||||
@@ -137,6 +139,7 @@ gss_import_sec_context (
|
|||||||
ret = GSS_S_FAILURE;
|
ret = GSS_S_FAILURE;
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
krb5_ret_int32 (sp, &tmp);
|
krb5_ret_int32 (sp, &tmp);
|
||||||
|
@@ -51,7 +51,6 @@ gss_import_sec_context (
|
|||||||
krb5_data data;
|
krb5_data data;
|
||||||
gss_buffer_desc buffer;
|
gss_buffer_desc buffer;
|
||||||
krb5_keyblock keyblock;
|
krb5_keyblock keyblock;
|
||||||
size_t sz;
|
|
||||||
int32_t tmp;
|
int32_t tmp;
|
||||||
int32_t flags;
|
int32_t flags;
|
||||||
|
|
||||||
@@ -121,6 +120,9 @@ gss_import_sec_context (
|
|||||||
krb5_ret_int32 (sp, &ac->remote_seqnumber);
|
krb5_ret_int32 (sp, &ac->remote_seqnumber);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
{
|
||||||
|
size_t sz;
|
||||||
|
|
||||||
krb5_ret_data (sp, &data);
|
krb5_ret_data (sp, &data);
|
||||||
ac->authenticator = malloc (sizeof (*ac->authenticator));
|
ac->authenticator = malloc (sizeof (*ac->authenticator));
|
||||||
if (ac->authenticator == NULL) {
|
if (ac->authenticator == NULL) {
|
||||||
@@ -137,6 +139,7 @@ gss_import_sec_context (
|
|||||||
ret = GSS_S_FAILURE;
|
ret = GSS_S_FAILURE;
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
krb5_ret_int32 (sp, &tmp);
|
krb5_ret_int32 (sp, &tmp);
|
||||||
|
Reference in New Issue
Block a user