Patrick Klos wrote:
(I think if LWIP_ASSERT was enabled, the code generated by the macro expansion would be enough to stop the warning, at least for 'prev'?)
Exactly. And honestly, I'm not sure if it makes sense to enable "-Wnull-dereference" with asserts disabled. You enable half of the checks and compain about the other half generating more warnings than before. The variable can still not get NULL at runtime or the assertion would have been thrown when enabled (which it doesn't, of course :)
Simon _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
