[Olsr-dev] [PATCH 00/12] fix compile warnings

Ferry Huberts (spam-protected)
Thu Jun 9 13:42:46 CEST 2011


From: Ferry Huberts <(spam-protected)>

This series fixes compiler warnings on gcc 4.6.0.

Nothing controversial except for the last patch which sets -Werror.
It thought this to be justified since it not compiles without warnings
(at least for me).

Ferry Huberts (12):
  ip_frontend: remove unused variable
  neighbor_table: remove unused variable
  tc_set: remove unused variable
  olsrd_httpinfo: remove unused variable
  mdns/NetworkInterfaces: remove unused variable
  mdns: remove unused variables
  nameservice: remove unused variable
  p2pd/NetworkInterfaces: remove unused variable
  p2pd: remove unused variables
  olsrd_txtinfo: remove unused variable
  olsr_cookie: introduce OLSR_COOKIE_DEBUG define
  Makefile.inc: treat warnings as errors

 Makefile.inc                      |    1 +
 lib/httpinfo/src/olsrd_httpinfo.c |    3 ---
 lib/mdns/src/NetworkInterfaces.c  |    4 ++--
 lib/mdns/src/mdns.c               |    9 ---------
 lib/nameservice/src/nameservice.c |    3 ---
 lib/p2pd/src/NetworkInterfaces.c  |    4 ++--
 lib/p2pd/src/p2pd.c               |    8 --------
 lib/txtinfo/src/olsrd_txtinfo.c   |    3 ---
 src/ipc_frontend.c                |   13 ++++++-------
 src/neighbor_table.c              |    2 --
 src/olsr_cookie.c                 |   15 ++++++++++++---
 src/tc_set.c                      |    3 ---
 12 files changed, 23 insertions(+), 45 deletions(-)

-- 
1.7.5.2





More information about the Olsr-dev mailing list