From 0b544658fc2f12b7d124a03d5b3e86c1f2b0b9a4 Mon Sep 17 00:00:00 2001 From: glebius Date: Sat, 14 Jan 2006 21:49:31 +0000 Subject: Initialize variable. Found with: Coverity Prevent(tm) --- sys/netgraph/ng_frame_relay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph') diff --git a/sys/netgraph/ng_frame_relay.c b/sys/netgraph/ng_frame_relay.c index b2bcfc5..406de69 100644 --- a/sys/netgraph/ng_frame_relay.c +++ b/sys/netgraph/ng_frame_relay.c @@ -329,12 +329,12 @@ static int ngfrm_rcvdata(hook_p hook, item_p item) { struct ctxinfo *const ctxp = NG_HOOK_PRIVATE(hook); + struct mbuf *m = NULL; int error = 0; int dlci; sc_p sc; int alen; char *data; - struct mbuf *m; /* Data doesn't come in from just anywhere (e.g debug hook) */ if (ctxp == NULL) { -- cgit v1.1