summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/tables.h')
-rw-r--r--src/include/ipxe/tables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ipxe/tables.h b/src/include/ipxe/tables.h
index 583ba51b8..e35ce8220 100644
--- a/src/include/ipxe/tables.h
+++ b/src/include/ipxe/tables.h
@@ -248,7 +248,8 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#define __table_entries( table, idx ) ( { \
static __table_type ( table ) __table_entries[0] \
- __table_entry ( table, idx ); \
+ __table_entry ( table, idx ) \
+ __attribute__ (( unused )); \
__table_entries; } )
/**