[coreboot] v3 stage1 warnings
Myles Watson
mylesgw at gmail.com
Tue Oct 28 21:24:26 CET 2008
This patch removes an unused variable, adds a necessary cast, and moves a
declaration into an #ifdef.
It removes these warnings:
/home/myles/buildrom/try/buildrom/buildrom-devel/work/coreboot-v3/svn/arch/x86/stage1.c:
In function 'stage1_phase1':
/home/myles/buildrom/try/buildrom/buildrom-devel/work/coreboot-v3/svn/arch/x86/stage1.c:173:
warning: unused variable 'me'
/home/myles/buildrom/try/buildrom/buildrom-devel/work/coreboot-v3/svn/arch/x86/stage1.c:
In function 'stage1_phase3':
/home/myles/buildrom/try/buildrom/buildrom-devel/work/coreboot-v3/svn/arch/x86/stage1.c:308:
warning: assignment makes pointer from integer without a cast
/home/myles/buildrom/try/buildrom/buildrom-devel/work/coreboot-v3/svn/arch/x86/stage1.c:282:
warning: unused variable 'ret'
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081028/98823fc5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stage1_warnings.diff
Type: text/x-patch
Size: 898 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081028/98823fc5/attachment.diff>
More information about the coreboot
mailing list