svn commit: r249244 - head/sbin/camcontrol
Ed Schouten
ed at FreeBSD.org
Mon Apr 8 08:03:43 UTC 2013
Author: ed
Date: Mon Apr 8 08:03:42 2013
New Revision: 249244
URL: http://svnweb.freebsd.org/changeset/base/249244
Log:
Prevent the creation of an unused variable.
We're only interested in the enumeration fields; we don't want to create
a variable to store them.
MFC after: 1 week
Modified:
head/sbin/camcontrol/camcontrol.c
Modified: head/sbin/camcontrol/camcontrol.c
==============================================================================
--- head/sbin/camcontrol/camcontrol.c Mon Apr 8 07:08:29 2013 (r249243)
+++ head/sbin/camcontrol/camcontrol.c Mon Apr 8 08:03:42 2013 (r249244)
@@ -1734,7 +1734,7 @@ enum {
ATA_SECURITY_ACTION_ERASE,
ATA_SECURITY_ACTION_ERASE_ENHANCED,
ATA_SECURITY_ACTION_SET_PASSWORD
-} atasecurity_action;
+};
static void
atasecurity_print_time(u_int16_t tw)
More information about the svn-src-head
mailing list