[coreboot] patch: pointer init to avoid compiler warning
Jordan Crouse
jordan.crouse at amd.com
Tue Feb 12 04:23:08 CET 2008
On 11/02/08 19:10 -0800, Chris Kilgour wrote:
>
> [openvsa]
> provide default pointer initializer to avoid compiler warning
>
> Signed-off by: Chris Kilgour <techie at whiterocker.com>
Acked-by: Jordan Crouse <jordan.crouse at amd.com>
> Index: sysmgr/timeout.c
> ===================================================================
> --- sysmgr/timeout.c (revision 4)
> +++ sysmgr/timeout.c (working copy)
> @@ -369,7 +369,7 @@
> UCHAR i, j, k;
> MBIU_INFO *MbiuPtr;
> register DESCRIPTOR *Descr = (DESCRIPTOR *) 0;
> - register PHYSICAL_COUNTERS *PhysPtr;
> + register PHYSICAL_COUNTERS *PhysPtr = (PHYSICAL_COUNTERS *) 0;
> register LOGICAL_COUNTERS *LogicalPtr;
>
> Flags = (ULONG) Attr << 16;
> --
> coreboot mailing list
> coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
--
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.
More information about the coreboot
mailing list