mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix most warnings from Sparse
git-svn-id: svn://coreboot.org/openbios/openbios-devel@274 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -52,7 +52,7 @@ static int check_mem_ranges(struct sys_info *info,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int aout_load(struct sys_info *info, const char *filename, const char *cmdline)
|
||||
int aout_load(struct sys_info *info, const char *filename)
|
||||
{
|
||||
int retval = -1;
|
||||
int image_retval;
|
||||
@@ -60,7 +60,7 @@ int aout_load(struct sys_info *info, const char *filename, const char *cmdline)
|
||||
unsigned long start, size;
|
||||
unsigned int offset;
|
||||
|
||||
image_name = image_version = 0;
|
||||
image_name = image_version = NULL;
|
||||
|
||||
if (!file_open(filename))
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user