FS-8854 initialize circular buffer

Now all members of buffer are initialized
in INIT_CIRC_BUFFER macro.
This commit is contained in:
Piotr Gregor 2016-02-22 11:15:10 +00:00
parent 3bd26eaa6b
commit 3af3e54a6f
1 changed files with 1 additions and 0 deletions

View File

@ -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)