1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

add ATTR_UNUSED on the flags variable

This commit is contained in:
mrdudz
2022-11-05 20:38:07 +01:00
parent 1452d8164d
commit e5777f7ccf

View File

@@ -41,6 +41,7 @@
/* common */ /* common */
#include "addrsize.h" #include "addrsize.h"
#include "attrib.h"
#include "check.h" #include "check.h"
#include "cpu.h" #include "cpu.h"
#include "shift.h" #include "shift.h"
@@ -4561,7 +4562,7 @@ void g_initstatic (unsigned InitLabel, unsigned VarLabel, unsigned Size)
void g_testbitfield (unsigned Flags, unsigned BitOffs, unsigned BitWidth) void g_testbitfield (ATTR_UNUSED(unsigned Flags), unsigned BitOffs, unsigned BitWidth)
/* Test bit-field in primary. */ /* Test bit-field in primary. */
{ {
/* Since the end is inclusive and cannot be negative here, we subtract 1 from the sum */ /* Since the end is inclusive and cannot be negative here, we subtract 1 from the sum */