Skip to content
Snippets Groups Projects
Commit 5331768c authored by Daniel Agar's avatar Daniel Agar Committed by Nuno Marques
Browse files

ekf2_reply_main coverity fix 143425

parent 8ddd071f
No related branches found
No related tags found
No related merge requests found
......@@ -917,7 +917,7 @@ void Ekf2Replay::task_main()
if (header[2] == LOG_FORMAT_MSG) {
// format message
struct log_format_s f;
struct log_format_s f = {};
if (::read(fd, &f.type, sizeof(f)) != sizeof(f)) {
PRINT_READ_ERROR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment