From b9b0c09168db56c83e3238d740f795e5082edb24 Mon Sep 17 00:00:00 2001 From: eadler Date: Fri, 20 Jan 2012 01:38:21 +0000 Subject: 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 --- usr.sbin/makefs/cd9660.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'usr.sbin/makefs') 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, -- cgit v1.1