mirror of
https://github.com/cc65/cc65.git
synced 2025-04-05 13:37:17 +00:00
add ATTR_UNUSED on the flags variable
This commit is contained in:
parent
1452d8164d
commit
e5777f7ccf
@ -41,6 +41,7 @@
|
||||
|
||||
/* common */
|
||||
#include "addrsize.h"
|
||||
#include "attrib.h"
|
||||
#include "check.h"
|
||||
#include "cpu.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. */
|
||||
{
|
||||
/* Since the end is inclusive and cannot be negative here, we subtract 1 from the sum */
|
||||
|
Loading…
x
Reference in New Issue
Block a user