From: Felix Fietkau Date: Sun, 3 Aug 2025 04:19:32 +0000 (+0200) Subject: system-linux: add variable initialization to avoid compiler warnings on older gcc X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c3cfd8df02af6b66c7aeceb61ffc2ac948fa008a;p=project%2Fnetifd.git system-linux: add variable initialization to avoid compiler warnings on older gcc Signed-off-by: Felix Fietkau --- diff --git a/system-linux.c b/system-linux.c index 29f9b4d..7f6df9e 100644 --- a/system-linux.c +++ b/system-linux.c @@ -3106,7 +3106,7 @@ int system_if_dump_info(struct device *dev, struct blob_buf *b) { __u32 *supported, *advertising, *lp_advertising; - bool rx_pause, tx_pause, pause_autoneg; + bool rx_pause = false, tx_pause = false, pause_autoneg; struct { struct ethtool_link_settings req; __u32 link_mode_data[3 * 127];