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:
Blue Swirl
2008-11-30 11:54:01 +00:00
parent c52d26b976
commit bf0c6b1c38
51 changed files with 186 additions and 166 deletions

View File

@@ -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;