Fix uninitialized variable.

PR:		kern/17911
Submitted by:	Tom Pavel <pavel@alum.mit.edu>
This commit is contained in:
archie 2000-04-12 17:29:33 +00:00
parent 79df56f489
commit cdd2982e88

View File

@ -1519,7 +1519,7 @@ ng_generic_msg(node_p here, struct ng_mesg *msg, const char *retaddr,
const struct ng_cmdlist *c;
const struct ng_parse_type *argstype;
struct ng_mesg *rp, *ascii, *binary;
int off;
int off = 0;
/* Data area must contain at least a struct ng_mesg + '\0' */
ascii = (struct ng_mesg *)msg->data;