Skip to content

Commit

Permalink
examples, threshold: initialize event to silence valgrind warning
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
  • Loading branch information
kmarkus committed Jul 15, 2020
1 parent ac563ba commit 10d69da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std_blocks/examples/threshold.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void thres_step(ubx_block_t *b)
long len;
int state;
double inval;
struct thres_event ev;
struct thres_event ev = { 0 };

struct thres_info *inf = (struct thres_info *)b->private_data;

Expand Down

0 comments on commit 10d69da

Please sign in to comment.