system-linux: add variable initialization to avoid compiler warnings on older gcc
authorFelix Fietkau <[email protected]>
Sun, 3 Aug 2025 04:19:32 +0000 (06:19 +0200)
committerFelix Fietkau <[email protected]>
Sun, 3 Aug 2025 04:19:32 +0000 (06:19 +0200)
Signed-off-by: Felix Fietkau <[email protected]>
system-linux.c

index 29f9b4d8de4f92997626338e97ea944369695842..7f6df9e0195c8652e499f93c9bdedd5f39255f47 100644 (file)
@@ -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];