summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-04-08 08:03:42 +0000
committered <ed@FreeBSD.org>2013-04-08 08:03:42 +0000
commit97e8e7f525e30bbde23be3aca9b829c9004b2307 (patch)
tree0217ddc50e796baf0ccac21c1a1cfb5256dad40e /sbin
parentc54b01f6365e92da44fd202edf34292dbf5e70e9 (diff)
downloadFreeBSD-src-97e8e7f525e30bbde23be3aca9b829c9004b2307.zip
FreeBSD-src-97e8e7f525e30bbde23be3aca9b829c9004b2307.tar.gz
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
Diffstat (limited to 'sbin')
-rw-r--r--sbin/camcontrol/camcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c
index 8b7f3ad..90ceb9a 100644
--- a/sbin/camcontrol/camcontrol.c
+++ b/sbin/camcontrol/camcontrol.c
@@ -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)
OpenPOWER on IntegriCloud