New code from lwip project

lwip repo:
3f016fc Multiple small/minor issues: bug #36492 Static Analysis on code 1.4.0