BlockingQueue: default initialize _data

This was reported by coverity.
This commit is contained in:
Julian Oes 2019-05-29 08:41:10 +02:00 committed by Daniel Agar
parent 4d7a1afd92
commit 29915cbc6d
1 changed files with 1 additions and 1 deletions

View File

@ -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};