Skip to content
Snippets Groups Projects
Commit 67dd5724 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

rts/AdjustorPool: Silence unused function warning

bitmap_get is only used in the DEBUG RTS configuration.

Fixes #21079.
parent 4e6c8019
No related branches found
No related tags found
No related merge requests found
Pipeline #47821 failed
Pipeline: head.hackage

#47823

    Pipeline: head.hackage

    #47822

      ......@@ -187,7 +187,8 @@ bitmap_set(uint8_t *bitmap, size_t idx, bool value)
      }
      }
      static bool
      // N.B. this is unused in non-DEBUG compilers
      static bool STG_UNUSED
      bitmap_get(uint8_t *bitmap, size_t idx)
      {
      size_t word_n = idx / 8;
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment