Module Name:    src
Committed By:   martin
Date:           Sat Oct 11 17:27:42 UTC 2014

Modified Files:
        src/usr.bin/config: sem.c

Log Message:
Remove a set but not used variable


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/usr.bin/config/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/config/sem.c
diff -u src/usr.bin/config/sem.c:1.61 src/usr.bin/config/sem.c:1.62
--- src/usr.bin/config/sem.c:1.61	Sat Oct 11 15:47:38 2014
+++ src/usr.bin/config/sem.c	Sat Oct 11 17:27:42 2014
@@ -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 @@ defdev(struct devbase *dev, struct locli
 {
 	struct loclist *ll;
 	struct attrlist *al;
-	struct attr *a;
 
 	if (dev == &errdev)
 		goto bad;
@@ -515,7 +514,7 @@ defdev(struct devbase *dev, struct locli
 	/*
 	 * Implicit attribute definition for device.
 	 */
-	a = refattr(dev->d_name);
+	refattr(dev->d_name);
 
 	/*
 	 * For each interface attribute this device refers to, add this

Reply via email to