svn commit: r230353 - head/usr.sbin/makefs
Eitan Adler
eadler at FreeBSD.org
Fri Jan 20 01:38:21 UTC 2012
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,
More information about the svn-src-head
mailing list