From: F. Aragon Date: Mon, 2 Jul 2018 18:07:59 +0000 (+0200) Subject: nhrpd: uninitialized variable (Clang scan) X-Git-Tag: frr-6.1-dev~204^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7ea5df54b633d08783d1e5fc451384721c6e0759;p=mirror%2Ffrr.git nhrpd: uninitialized variable (Clang scan) Fix over 0a939f4f24fa34fea688482fbf57fb16eaf2a081 (there was a case not covered by previous fix) Signed-off-by: F. Aragon --- diff --git a/nhrpd/vici.c b/nhrpd/vici.c index 3bb0d8308e..eb3827a12f 100644 --- a/nhrpd/vici.c +++ b/nhrpd/vici.c @@ -306,7 +306,7 @@ static void vici_recv_message(struct vici_conn *vici, struct zbuf *msg) uint32_t msglen; uint8_t msgtype; struct blob name; - struct vici_message_ctx ctx; + struct vici_message_ctx ctx = { .nsections = 0 }; msglen = zbuf_get_be32(msg); msgtype = zbuf_get8(msg);