diff options
| author | F. Aragon <paco@voltanet.io> | 2018-07-02 20:07:59 +0200 | 
|---|---|---|
| committer | F. Aragon <paco@voltanet.io> | 2018-07-02 20:07:59 +0200 | 
| commit | 7ea5df54b633d08783d1e5fc451384721c6e0759 (patch) | |
| tree | 331d731c5347263f3e6f12c316e679ca1ccb82e8 /nhrpd/vici.c | |
| parent | 0a939f4f24fa34fea688482fbf57fb16eaf2a081 (diff) | |
nhrpd: uninitialized variable (Clang scan)
Fix over 0a939f4f24fa34fea688482fbf57fb16eaf2a081 (there was a case not
covered by previous fix)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'nhrpd/vici.c')
| -rw-r--r-- | nhrpd/vici.c | 2 | 
1 files changed, 1 insertions, 1 deletions
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);  | 
