Trivial fix to remove compiler warning
src/northbridge/amd/lx/raminit.c:302: warning: ‘spd_byte’ may be used uninitialized in this function
Signed-off-by: Nathan Williams nathan@traverse.com.au
diff --git a/src/northbridge/amd/lx/raminit.c b/src/northbridge/amd/lx/raminit.c index 7240898..1dd6d19 100644 --- a/src/northbridge/amd/lx/raminit.c +++ b/src/northbridge/amd/lx/raminit.c @@ -299,7 +299,8 @@ static void setCAS(void) ;* Destroys: We really use everything ! ;*****************************************************************************/ uint16_t glspeed; - uint8_t spd_byte, casmap0, casmap1; + uint8_t casmap0, casmap1; + uint8_t spd_byte = 0; msr_t msr;
glspeed = GeodeLinkSpeed();