aboutsummaryrefslogtreecommitdiffstats
path: root/vppinfra/vppinfra/heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'vppinfra/vppinfra/heap.c')
-rw-r--r--vppinfra/vppinfra/heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vppinfra/vppinfra/heap.c b/vppinfra/vppinfra/heap.c
index 01df54a3aac..5f44cd40534 100644
--- a/vppinfra/vppinfra/heap.c
+++ b/vppinfra/vppinfra/heap.c
@@ -85,7 +85,7 @@ always_inline uword size_to_bin (uword size)
}
/* Convert bin to size. */
-always_inline uword bin_to_size (uword bin)
+always_inline __attribute__((unused)) uword bin_to_size (uword bin)
{
uword size;