Removed __attribute__ since its not Windows compliant

This commit is contained in:
Erika Thorsen 2016-11-14 07:54:43 +01:00
parent d6a741287b
commit 8723dc7337
1 changed files with 1 additions and 2 deletions

View File

@ -103,8 +103,7 @@ static void ASN_DEBUG(const char *fmt, ...) { (void)fmt; }
* Check stack against overflow, if limit is set.
*/
#define ASN__DEFAULT_STACK_MAX (30000)
static int __attribute__((unused))
ASN__STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
static int ASN__STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
if(ctx && ctx->max_stack_size) {
/* ctx MUST be allocated on the stack */