lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5822] Handle unused arguments


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #5822] Handle unused arguments
Date: Mon, 26 Mar 2007 16:17:36 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #2, patch #5822 (project lwip):

It's not that I fear these statements would bloat lwIP binary size, only that
different compilers have very different views of what to warn about.
Statements like "arg = arg;" or "arg;" often give a warning like "statement
has no effect". Personally, I prefer simply not to warn about unused
arguments.
I would define LWIP_UNUSED_ARG to nothing by default and let people override
it if they really need it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5822>

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





reply via email to

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