Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config Remove a set but not used variable
details: https://anonhg.NetBSD.org/src/rev/ad6ecfada115
branches: trunk
changeset: 332909:ad6ecfada115
user: martin <martin%NetBSD.org@localhost>
date: Sat Oct 11 17:27:42 2014 +0000
description:
Remove a set but not used variable
diffstat:
usr.bin/config/sem.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r c171714f0838 -r ad6ecfada115 usr.bin/config/sem.c
--- a/usr.bin/config/sem.c Sat Oct 11 15:55:36 2014 +0000
+++ b/usr.bin/config/sem.c Sat Oct 11 17:27:42 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sem.c,v 1.61 2014/10/11 15:47:38 uebayasi Exp $ */
+/* $NetBSD: sem.c,v 1.62 2014/10/11 17:27:42 martin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -456,7 +456,6 @@
{
struct loclist *ll;
struct attrlist *al;
- struct attr *a;
if (dev == &errdev)
goto bad;
@@ -515,7 +514,7 @@
/*
* Implicit attribute definition for device.
*/
- a = refattr(dev->d_name);
+ refattr(dev->d_name);
/*
* For each interface attribute this device refers to, add this
Home |
Main Index |
Thread Index |
Old Index