Compiler warning fixed.

This commit is contained in:
Tobias Brunner
2012-03-20 17:31:40 +01:00
parent 182d55b229
commit dcbdc914fa
+6 -2
View File
@@ -1482,9 +1482,13 @@ task_manager_v1_t *task_manager_v1_create(ike_sa_t *ike_sa)
.destroy = _destroy,
},
},
.initiating = {
.type = EXCHANGE_TYPE_UNDEFINED,
},
.responding = {
.seqnr = RESPONDING_SEQ,
},
.ike_sa = ike_sa,
.initiating.type = EXCHANGE_TYPE_UNDEFINED,
.responding.seqnr = RESPONDING_SEQ,
.rng = lib->crypto->create_rng(lib->crypto, RNG_WEAK),
.queued_tasks = linked_list_create(),
.active_tasks = linked_list_create(),