Commit 8723dc73 authored by Erika Thorsen's avatar Erika Thorsen

Removed __attribute__ since its not Windows compliant

parent d6a74128
...@@ -103,8 +103,7 @@ static void ASN_DEBUG(const char *fmt, ...) { (void)fmt; } ...@@ -103,8 +103,7 @@ static void ASN_DEBUG(const char *fmt, ...) { (void)fmt; }
* Check stack against overflow, if limit is set. * Check stack against overflow, if limit is set.
*/ */
#define ASN__DEFAULT_STACK_MAX (30000) #define ASN__DEFAULT_STACK_MAX (30000)
static int __attribute__((unused)) static int ASN__STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
ASN__STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
if(ctx && ctx->max_stack_size) { if(ctx && ctx->max_stack_size) {
/* ctx MUST be allocated on the stack */ /* ctx MUST be allocated on the stack */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment