Module Name:    src
Committed By:   cegger
Date:           Sat Jul  4 13:54:15 UTC 2009

Modified Files:
        src/usr.sbin/pcictl: pcictl.c

Log Message:
remove unused global variable.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/pcictl/pcictl.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.sbin/pcictl/pcictl.c
diff -u src/usr.sbin/pcictl/pcictl.c:1.14 src/usr.sbin/pcictl/pcictl.c:1.15
--- src/usr.sbin/pcictl/pcictl.c:1.14	Sat Jul  4 13:50:08 2009
+++ src/usr.sbin/pcictl/pcictl.c	Sat Jul  4 13:54:14 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcictl.c,v 1.14 2009/07/04 13:50:08 cegger Exp $	*/
+/*	$NetBSD: pcictl.c,v 1.15 2009/07/04 13:54:14 cegger Exp $	*/
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -72,7 +72,6 @@
 const	char *dvname;
 char	dvname_store[MAXPATHLEN];
 const	char *cmdname;
-const	char *argnames;
 int	print_numbers = 0;
 
 void	cmd_list(int, char *[]);
@@ -121,8 +120,6 @@
 	if (commands[i].cmd_name == NULL)
 		errx(EXIT_FAILURE, "unknown command: %s", cmdname);
 
-	argnames = commands[i].arg_names;
-
 	/* Open the device. */
 	if ((strchr(dvname, '/') == NULL) &&
 	    (snprintf(dvname_store, sizeof(dvname_store), _PATH_DEV "%s",

Reply via email to