Mark an unsed parameter as unused. __attribute__ also supported by cc65.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4376 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
|
||||
|
||||
#include "assertion.h"
|
||||
#include "attrib.h"
|
||||
|
||||
|
||||
|
||||
@@ -43,7 +44,7 @@
|
||||
|
||||
|
||||
|
||||
int AssertAtLinkTime (AssertAction A)
|
||||
int AssertAtLinkTime (AssertAction A attribute ((unused)))
|
||||
/* Return true if this assertion should be evaluated at link time */
|
||||
{
|
||||
/* Currently all assertions are evaluated at link time */
|
||||
@@ -54,7 +55,7 @@ int AssertAtLinkTime (AssertAction A)
|
||||
|
||||
int AssertAtAsmTime (AssertAction A)
|
||||
/* Return true if this assertion should be evaluated at assembly time */
|
||||
{
|
||||
{
|
||||
return (A & 0x02U) == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user