projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b563d7b
)
system-linux: add variable initialization to avoid compiler warnings on older gcc
author
Felix Fietkau
<
[email protected]
>
Sun, 3 Aug 2025 04:19:32 +0000
(06:19 +0200)
committer
Felix Fietkau
<
[email protected]
>
Sun, 3 Aug 2025 04:19:32 +0000
(06:19 +0200)
Signed-off-by: Felix Fietkau <
[email protected]
>
system-linux.c
patch
|
blob
|
history
diff --git
a/system-linux.c
b/system-linux.c
index 29f9b4d8de4f92997626338e97ea944369695842..7f6df9e0195c8652e499f93c9bdedd5f39255f47 100644
(file)
--- 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_pau
se, pause_autoneg;
+ bool rx_pause
= false, tx_pause = fal
se, pause_autoneg;
struct {
struct ethtool_link_settings req;
__u32 link_mode_data[3 * 127];