FS-8854 initialize circular buffer
Now all members of buffer are initialized in INIT_CIRC_BUFFER macro.
This commit is contained in:
parent
3bd26eaa6b
commit
3af3e54a6f
|
@ -87,6 +87,7 @@ extern size_t next_power_of_2(size_t v);
|
|||
(bf)->pos = 0; \
|
||||
(bf)->lpos = 0; \
|
||||
(bf)->backlog = 0; \
|
||||
(bf)->i = 0; \
|
||||
}
|
||||
|
||||
//#define DESTROY_CIRC_BUFFER(b) free((b)->buf)
|
||||
|
|
Loading…
Reference in New Issue