Compiler warning fixed
authorTobias Brunner <tobias@strongswan.org>
Fri, 2 Nov 2012 14:39:51 +0000 (15:39 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 2 Nov 2012 14:39:51 +0000 (15:39 +0100)
src/libcharon/plugins/unity/unity_handler.c

index 446f512..b8d571d 100644 (file)
@@ -170,7 +170,7 @@ static job_requeue_t add_exclude_async(entry_t *entry)
 {
        enumerator_t *enumerator;
        child_cfg_t *child_cfg;
-       lifetime_cfg_t lft = {};
+       lifetime_cfg_t lft = { .time = { .life = 0 } };
        ike_sa_t *ike_sa;
        char name[128];
        host_t *host;