mBed LPC1768 ethernet experiment problem (solved)

I have the Sparkfun mBed Starter Kit and just tried Experiment 5 “Internet Clock”. The compiler threw the following error:

Warning: C4017W: tmp may be used before being set in “EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc_phy_dp83848.c”, Line: 317, Col: 7

The offending code is:

u32_t tmp;

Changing it to the following cleared the error:

u32_t tmp = 0;

Maybe this will help the next person who runs into this…