[PATCH netifd 0/5] Fix some compiler warnings

Hauke Mehrtens hauke at hauke-m.de
Sun Feb 19 07:20:22 PST 2023


This fixes some compiler warnings and activates -Wextra by default now.

Hauke Mehrtens (5):
  netifd: bridge: Fix format string position
  netifd: Fix multiple -Wsign-compare warnings
  netifd: Do not return values in void function
  netifd: Explicitly zero initialize variables
  netifd: Activate -Wextra compile warnings

 CMakeLists.txt    |  6 +++++-
 bonding.c         |  2 +-
 bridge.c          |  2 +-
 handler.c         |  5 +++--
 interface-event.c |  6 ++++--
 interface-ip.c    |  2 +-
 main.c            |  7 ++++---
 proto.c           |  2 +-
 system-linux.c    | 23 +++++++++++++----------
 ubus.c            |  4 ++--
 vlan.c            |  4 ++--
 wireless.c        |  2 +-
 12 files changed, 38 insertions(+), 27 deletions(-)

-- 
2.39.1




More information about the openwrt-devel mailing list