lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #6933] Review usage of ASSERT and error handling with


From: Simon Goldschmidt
Subject: [lwip-devel] [task #6933] Review usage of ASSERT and error handling with LWIP_NOASSERT
Date: Sun, 17 Jun 2007 14:29:26 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #12, task #6933 (project lwip):

Frédéric, is it OK for you to change

#define LWIP_ERROR(m,e,h) do { if (e) {...

to 

#define LWIP_ERROR(m,e,h) do { if (!(e)) {...

?
That way, one can easily change from ASSERT to ERROR without fearing to
forget to change the expression to the negative.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6933>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]