Initialize variables that some compilers seem to warn about
This commit is contained in:
@@ -138,7 +138,7 @@ static child_cfg_t* find_child_cfg(char *name, peer_cfg_t **out)
|
||||
{
|
||||
enumerator_t *enumerator;
|
||||
peer_cfg_t *peer_cfg;
|
||||
child_cfg_t *child_cfg;
|
||||
child_cfg_t *child_cfg = NULL;
|
||||
|
||||
enumerator = charon->backends->create_peer_cfg_enumerator(
|
||||
charon->backends, NULL, NULL, NULL, NULL, IKE_ANY);
|
||||
|
||||
@@ -321,7 +321,7 @@ METHOD(authenticator_t, build, status_t,
|
||||
chunk_t auth_data;
|
||||
status_t status;
|
||||
auth_payload_t *auth_payload;
|
||||
auth_method_t auth_method;
|
||||
auth_method_t auth_method = AUTH_NONE;
|
||||
|
||||
id = this->ike_sa->get_my_id(this->ike_sa);
|
||||
auth = this->ike_sa->get_auth_cfg(this->ike_sa, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user