- Return error, if there was one.

- No need to initialize error here.

PR:		kern/79884
Submitted by:	Wojciech A. Koszek
This commit is contained in:
Gleb Smirnoff 2005-04-15 10:14:00 +00:00
parent 133539f2aa
commit dfc17a329e

@ -100,10 +100,10 @@ nge_rcvmsg(node_p node, item_p item, hook_p lasthook)
static int static int
nge_rcvdata(hook_p hook, item_p item) nge_rcvdata(hook_p hook, item_p item)
{ {
int error = 0; int error;
NG_FWD_ITEM_HOOK(error, item, hook); NG_FWD_ITEM_HOOK(error, item, hook);
return (0); return (error);
} }
/* /*