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:
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user