minor derivative to reduce compiler warnings and tag read-only parameters as const.
Fork of lwip-eth by
Revision 28:dd496edab2cc, committed 2015-07-07
- Comitter:
- WiredHome
- Date:
- Tue Jul 07 14:08:52 2015 +0000
- Parent:
- 27:fde88aaaea28
- Commit message:
- Eliminate 2 compiler warnings by initializing values
Changed in this revision
arch/TARGET_NXP/lpc_phy_dp83848.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/arch/TARGET_NXP/lpc_phy_dp83848.c Mon Jun 15 07:15:45 2015 +0100 +++ b/arch/TARGET_NXP/lpc_phy_dp83848.c Tue Jul 07 14:08:52 2015 +0000 @@ -314,7 +314,7 @@ */ err_t lpc_phy_init(struct netif *netif, int rmii) { - u32_t tmp; + u32_t tmp = 0; s32_t i; physts.phy_speed_100mbs = olddphysts.phy_speed_100mbs = 0;