diff options
author | Robin Gareus <robin@gareus.org> | 2013-07-28 20:32:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-07-28 20:32:52 +0200 |
commit | cd28d62b26214770cfc269aafe666ec2fb3f2607 (patch) | |
tree | 40a8562aa2c5fb72c82c78084f31ac7799105524 /libs/pbd | |
parent | d1c2d53afe71bfd4fb870b7ed179e8a77a801622 (diff) |
fix compiler warnings.
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/pbd/ringbuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/pbd/pbd/ringbuffer.h b/libs/pbd/pbd/ringbuffer.h index f14fa71851..652457b493 100644 --- a/libs/pbd/pbd/ringbuffer.h +++ b/libs/pbd/pbd/ringbuffer.h @@ -233,6 +233,7 @@ RingBuffer<T>::get_read_vector (RingBuffer<T>::rw_vector *vec) vec->buf[0] = &buf[r]; vec->len[0] = free_cnt; + vec->buf[1] = 0; vec->len[1] = 0; } } |