summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-01-20 01:38:21 +0000
committereadler <eadler@FreeBSD.org>2012-01-20 01:38:21 +0000
commitb9b0c09168db56c83e3238d740f795e5082edb24 (patch)
tree48233ed919d98bc39ba1a892b09560b00fe4570c /usr.sbin
parentc33328dca54e9fddbdbf16e4195b2970183ef3d1 (diff)
downloadFreeBSD-src-b9b0c09168db56c83e3238d740f795e5082edb24.zip
FreeBSD-src-b9b0c09168db56c83e3238d740f795e5082edb24.tar.gz
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
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/makefs/cd9660.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/makefs/cd9660.c b/usr.sbin/makefs/cd9660.c
index b9e800d..65730d6 100644
--- a/usr.sbin/makefs/cd9660.c
+++ b/usr.sbin/makefs/cd9660.c
@@ -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,
OpenPOWER on IntegriCloud