forked from Archive/PX4-Autopilot
BlockingQueue: default initialize _data
This was reported by coverity.
This commit is contained in:
parent
4d7a1afd92
commit
29915cbc6d
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue