diff --git a/src/include/containers/BlockingQueue.hpp b/src/include/containers/BlockingQueue.hpp index 7e0ac7f89e..931cfd0950 100644 --- a/src/include/containers/BlockingQueue.hpp +++ b/src/include/containers/BlockingQueue.hpp @@ -81,7 +81,7 @@ private: px4_sem_t _sem_head; px4_sem_t _sem_tail; - T _data[N]; + T _data[N] {}; size_t _head{0}; size_t _tail{0};