mirror of
https://github.com/xcat2/xNBA.git
synced 2025-08-25 20:50:29 +00:00
[util] Fix uninitialised-variable warning in einfo.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -93,10 +93,11 @@ static void einfo ( const char *infile,
|
||||
( ( ( char * ) einfo ) + einfo->desc ) );
|
||||
}
|
||||
|
||||
/* Unmap file */
|
||||
munmap ( start, len );
|
||||
}
|
||||
|
||||
/* Unmap and close file */
|
||||
munmap ( start, len );
|
||||
/* Close file */
|
||||
close ( fd );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user