mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 01:52:08 +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:
@@ -404,7 +404,7 @@ static int nbi_boot ( void *context ) {
|
||||
}
|
||||
|
||||
/** Declaration of the NBI image format */
|
||||
static struct image nbi_image __image = {
|
||||
struct image nbi_image __image = {
|
||||
.name = "NBI",
|
||||
.probe = nbi_probe,
|
||||
.load = nbi_load,
|
||||
|
||||
Reference in New Issue
Block a user