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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to