mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
This commit is contained in:
@@ -112,7 +112,7 @@ static void process_igmp ( unsigned long now, unsigned short ptype __unused,
|
||||
}
|
||||
}
|
||||
|
||||
static struct background igmp_background __background = {
|
||||
struct background igmp_background __background = {
|
||||
.send = send_igmp_reports,
|
||||
.process = process_igmp,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user