aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-08-13 15:09:00 +0200
committerTobias Brunner <tobias@strongswan.org>2015-08-13 15:12:38 +0200
commit6967948241c59642d0a696b6ec12482dab13e74d (patch)
tree09bfffb463d44f9b180bd06c431c05a6b535e56f /src/libcharon/plugins
parentf809e485fb8b7229fd5294c5183656f05c993358 (diff)
downloadstrongswan-6967948241c59642d0a696b6ec12482dab13e74d.tar.bz2
strongswan-6967948241c59642d0a696b6ec12482dab13e74d.tar.xz
Initialize variables that some compilers seem to warn about
Diffstat (limited to 'src/libcharon/plugins')
-rw-r--r--src/libcharon/plugins/vici/vici_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/vici/vici_control.c b/src/libcharon/plugins/vici/vici_control.c
index 01d503644..408d29985 100644
--- a/src/libcharon/plugins/vici/vici_control.c
+++ b/src/libcharon/plugins/vici/vici_control.c
@@ -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);