Initialize variable.

Found with:	Coverity Prevent(tm)
This commit is contained in:
Gleb Smirnoff 2006-01-14 21:49:31 +00:00
parent efa3bacc86
commit 929d59e2fe
1 changed files with 1 additions and 1 deletions

View File

@ -329,12 +329,12 @@ static int
ngfrm_rcvdata(hook_p hook, item_p item) ngfrm_rcvdata(hook_p hook, item_p item)
{ {
struct ctxinfo *const ctxp = NG_HOOK_PRIVATE(hook); struct ctxinfo *const ctxp = NG_HOOK_PRIVATE(hook);
struct mbuf *m = NULL;
int error = 0; int error = 0;
int dlci; int dlci;
sc_p sc; sc_p sc;
int alen; int alen;
char *data; char *data;
struct mbuf *m;
/* Data doesn't come in from just anywhere (e.g debug hook) */ /* Data doesn't come in from just anywhere (e.g debug hook) */
if (ctxp == NULL) { if (ctxp == NULL) {