summaryrefslogtreecommitdiffstats
path: root/core/parse.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2019-01-03 06:56:48 +0200
committerGravatar Miika Turkia <miika.turkia@gmail.com>2019-01-03 06:56:48 +0200
commitfd5aad719208f35252bacc9a7a46c829fc631923 (patch)
treeb9134cfc1c10de77344532fbdb3c79b3db4050d8 /core/parse.c
parent5ae54f481c6c1f3ed73c9661ef9d27050ec9b350 (diff)
downloadsubsurface-fd5aad719208f35252bacc9a7a46c829fc631923.tar.gz
Use state structure for sample rate info
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/parse.c')
-rw-r--r--core/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/parse.c b/core/parse.c
index 8683daed4..2a408b57c 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -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)