diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2011-01-17 18:57:43 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2011-01-17 18:57:43 +0000 |
commit | 9d614ea1a6f6809d910ca5db84cba9cffe27cf69 (patch) | |
tree | 8255e9e13d4e0a9ef6f73095aad84f6b261ba970 /sbin | |
parent | 57107c37ade4d0a2c3efb8a2adf6409acbfeaa6f (diff) |
silence stupid gcc warning by initializing a variable with NULL.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/iked/ikev2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index db5fab5e612..1b40054043f 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.33 2011/01/17 18:49:35 mikeb Exp $ */ +/* $OpenBSD: ikev2.c,v 1.34 2011/01/17 18:57:42 reyk Exp $ */ /* $vantronix: ikev2.c,v 1.101 2010/06/03 07:57:33 reyk Exp $ */ /* @@ -2018,7 +2018,7 @@ int ikev2_send_create_child_sa(struct iked *env, struct iked_sa *sa, struct iked_spi *rekey, u_int8_t protoid) { - struct iked_childsa *csa, *csb = NULL; + struct iked_childsa *csa = NULL, *csb = NULL; struct ikev2_notify *n; struct ikev2_payload *pld; struct ibuf *e, *nonce = NULL; |