diff options
| author | maxv <maxv@NetBSD.org> | 2015-07-24 13:02:52 +0000 |
|---|---|---|
| committer | maxv <maxv@NetBSD.org> | 2015-07-24 13:02:52 +0000 |
| commit | 96293727e83e561ef734a3c6a2bc6d6ed21f7b28 (patch) | |
| tree | 296f8f9faa1eb48e34e1d1722b067a308c29f0eb /sys/compat/linux/common/linux_socket.c | |
| parent | 87bb96fdb18f44088499a78eeadea2989a577478 (diff) | |
Unused inits (harmless).
Found by Brainy.
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index 5b33af8e783..7b7e07d3583 100644 --- a/sys/compat/linux/common/linux_socket.c +++ b/sys/compat/linux/common/linux_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socket.c,v 1.125 2015/05/24 17:07:26 rtr Exp $ */ +/* $NetBSD: linux_socket.c,v 1.126 2015/07/24 13:02:52 maxv Exp $ */ /*- * Copyright (c) 1995, 1998, 2008 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.125 2015/05/24 17:07:26 rtr Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.126 2015/07/24 13:02:52 maxv Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -1115,7 +1115,7 @@ linux_getifconf(struct lwp *l, register_t *retval, void *data) struct ifaddr *ifa; struct sockaddr *sa; struct osockaddr *osa; - int space = 0, error = 0; + int space = 0, error; const int sz = (int)sizeof(ifr); bool docopy; |
