mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use state structure for sample rate info
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
5ae54f481c
commit
fd5aad7192
3 changed files with 8 additions and 8 deletions
|
@ -21,6 +21,7 @@ void init_parser_state(struct parser_state *state)
|
|||
memset(state, 0, sizeof(*state));
|
||||
state->metric = true;
|
||||
state->cur_event.deleted = 1;
|
||||
state->sample_rate = 0;
|
||||
}
|
||||
|
||||
void free_parser_state(struct parser_state *state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue