Author: eadler
Date: Fri Jan 20 01:38:21 2012
New Revision: 230353
URL: http://svn.freebsd.org/changeset/base/230353

Log:
  Fix warning when compiling with gcc46:
          error: variable 'temp' set but not used
  
  Approved by:  dim
  Approved by:  cperciva (mentor, blanket for pre-mentorship already-approved 
commits)
  MFC after:    3 days

Modified:
  head/usr.sbin/makefs/cd9660.c

Modified: head/usr.sbin/makefs/cd9660.c
==============================================================================
--- head/usr.sbin/makefs/cd9660.c       Fri Jan 20 01:38:12 2012        
(r230352)
+++ head/usr.sbin/makefs/cd9660.c       Fri Jan 20 01:38:21 2012        
(r230353)
@@ -623,10 +623,6 @@ static void
 cd9660_finalize_PVD(void)
 {
        time_t tim;
-       unsigned char *temp;
-
-       /* Copy the root directory record */
-       temp = (unsigned char *) &diskStructure.primaryDescriptor;
 
        /* root should be a fixed size of 34 bytes since it has no name */
        memcpy(diskStructure.primaryDescriptor.root_directory_record,
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to