Distinguish or merge variables with same names

...to resolve C4457 warnings.
This commit is contained in:
2018-09-04 14:42:40 +02:00
parent c8c54e5d54
commit 4ae70c8575
4 changed files with 33 additions and 29 deletions

View File

@@ -193,7 +193,7 @@ void eap::peer_ttls_ui::invoke_identity_ui(
log_event(&EAPMETHOD_TRACE_EVT_CRED_NO_METHOD, event_data(target_name), event_data::blank);
continue;
}
config_method_ttls *cfg_method = dynamic_cast<config_method_ttls*>(cfg_prov->m_methods.front().get());
cfg_method = dynamic_cast<config_method_ttls*>(cfg_prov->m_methods.front().get());
assert(cfg_method);
// Prepare new set of credentials for given provider.