Browse Source

AP_HAL: RingBuffer: remove C++11 initialization

They are already initialized in the constructor.
master
Lucas De Marchi 9 years ago
parent
commit
24c7f76034
  1. 4
      libraries/AP_HAL/utility/RingBuffer.h

4
libraries/AP_HAL/utility/RingBuffer.h

@ -99,8 +99,8 @@ public: @@ -99,8 +99,8 @@ public:
bool commit(uint32_t len);
private:
uint8_t *buf = nullptr;
uint32_t size = 0;
uint8_t *buf;
uint32_t size;
// head is where the next available data is. tail is where new
// data is written

Loading…
Cancel
Save