Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2013 08:03:42 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249244 - head/sbin/camcontrol
Message-ID:  <201304080803.r3883ggQ087724@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304080803.r3883ggQ087724>