diff --git a/Event/TrackEvent/include/Event/UTSectorHelper.h b/Event/TrackEvent/include/Event/UTSectorHelper.h
index d36b074e52f842ac7c7b81169af7288cdbfea1e2..25e3569146da107f5a4ea6b46ceb31bf5cbdf063 100644
--- a/Event/TrackEvent/include/Event/UTSectorHelper.h
+++ b/Event/TrackEvent/include/Event/UTSectorHelper.h
@@ -70,14 +70,14 @@ namespace LHCb::UTDAQ {
     //=============================================================================
     // -- Helper for non-trivial index calculation
     //=============================================================================
-    int boundsIndex( const int maxNumSectors, const int layer, const int offset ) {
+    [[maybe_unused]] int boundsIndex( const int maxNumSectors, const int layer, const int offset ) {
       return maxNumSectors * layer + offset;
     }
 
     //=============================================================================
     // -- Helper for non-trivial position calculation
     //=============================================================================
-    simd::int_v position( const simd::int_v positions, const int maxNumSectors, const int layer ) {
+    [[maybe_unused]] simd::int_v position( const simd::int_v positions, const int maxNumSectors, const int layer ) {
       return positions - maxNumSectors * layer;
     }