From 2dc628b54a80b57f61416d1e3835f21745066577 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Mon, 23 May 2005 13:49:49 +0000 Subject: [PATCH] Remove local error variable, which leads to hiding error from return value. PR: kern/81371 Submitted by: Wojciech A. Koszek MFC after: 1 week --- sys/netgraph/ng_socket.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c index 10cb0129e8ce..2fe6b3169cd6 100644 --- a/sys/netgraph/ng_socket.c +++ b/sys/netgraph/ng_socket.c @@ -283,7 +283,6 @@ ngc_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr, if ((type = ng_findtype(mkp->type)) == NULL) { char filename[NG_TYPESIZ + 3]; linker_file_t lf; - int error; /* Not found, try to load it as a loadable module. */ snprintf(filename, sizeof(filename), "ng_%s",