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:
uz
2009-10-19 17:25:43 +00:00
parent 548336a7bd
commit 399c37273d
2 changed files with 9 additions and 8 deletions

View File

@@ -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;
}