Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/ifconfig trim extraneous return statement
details: https://anonhg.NetBSD.org/src/rev/47f7191398ad
branches: trunk
changeset: 1009026:47f7191398ad
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Apr 10 14:32:50 2020 +0000
description:
trim extraneous return statement
diffstat:
sbin/ifconfig/af_inet.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 62e7a8afc1c3 -r 47f7191398ad sbin/ifconfig/af_inet.c
--- a/sbin/ifconfig/af_inet.c Fri Apr 10 12:38:40 2020 +0000
+++ b/sbin/ifconfig/af_inet.c Fri Apr 10 14:32:50 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: af_inet.c,v 1.26 2019/08/16 10:33:17 msaitoh Exp $ */
+/* $NetBSD: af_inet.c,v 1.27 2020/04/10 14:32:50 plunky Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: af_inet.c,v 1.26 2019/08/16 10:33:17 msaitoh Exp $");
+__RCSID("$NetBSD: af_inet.c,v 1.27 2020/04/10 14:32:50 plunky Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -219,7 +219,6 @@
if (prog_ioctl(s, SIOCGIFAFLAG_IN, &ifr) == -1)
err(EXIT_FAILURE, "SIOCGIFAFLAG_IN");
return ifr.ifr_addrflags & flags ? true : false;
- return false;
}
#endif
Home |
Main Index |
Thread Index |
Old Index