Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet ip_add_membership() has an missing {} issue, but...
details: https://anonhg.NetBSD.org/src/rev/26343837b0aa
branches: trunk
changeset: 359330:26343837b0aa
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Feb 07 06:21:23 2018 +0000
description:
ip_add_membership() has an missing {} issue, but solve it by
dropping the "goto out" that would have happened immediately
next anyway, ie, should be NFC.
diffstat:
sys/netinet/ip_output.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 93d6b9764d18 -r 26343837b0aa sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c Wed Feb 07 06:19:43 2018 +0000
+++ b/sys/netinet/ip_output.c Wed Feb 07 06:21:23 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_output.c,v 1.293 2018/02/06 17:08:18 maxv Exp $ */
+/* $NetBSD: ip_output.c,v 1.294 2018/02/07 06:21:23 mrg Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.293 2018/02/06 17:08:18 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.294 2018/02/07 06:21:23 mrg Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1827,7 +1827,6 @@
error = ip6_get_membership(sopt, &ifp, &psref, &ia, sizeof(ia));
#else
error = EINVAL;
- goto out;
#endif
if (error)
Home |
Main Index |
Thread Index |
Old Index