Skip to content

Commit

Permalink
erts: Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rickard-green committed Jun 10, 2013
1 parent c4af010 commit 75fbf54
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions erts/emulator/beam/erl_alloc.c
Expand Up @@ -240,6 +240,10 @@ do { \
sys_memcpy((void *) (IP), (void *) &aui__, sizeof(struct au_init)); \
} while (0)

#if ERTS_ALC_DEFAULT_ACUL \
|| ERTS_ALC_DEFAULT_ACUL_LL_ALLOC \
|| ERTS_ALC_DEFAULT_ACUL_EHEAP_ALLOC

static ERTS_INLINE void
set_default_acul(struct au_init *ip, int acul)
{
Expand All @@ -249,6 +253,8 @@ set_default_acul(struct au_init *ip, int acul)
ip->init.util.acul = acul;
}

#endif

static void
set_default_sl_alloc_opts(struct au_init *ip)
{
Expand Down

0 comments on commit 75fbf54

Please sign in to comment.