mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +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:
@@ -13,7 +13,7 @@
|
||||
* followed by a little manual tweaking.
|
||||
*
|
||||
*/
|
||||
static struct errortab pxe_errortab[] __errortab = {
|
||||
struct errortab pxe_errortab[] __errortab = {
|
||||
{ PXENV_STATUS_SUCCESS, "Success" },
|
||||
{ PXENV_STATUS_FAILURE, "Failure" },
|
||||
{ PXENV_STATUS_BAD_FUNC, "Bad function" },
|
||||
|
||||
Reference in New Issue
Block a user