ekf2_reply_main coverity fix 143425

This commit is contained in:
Daniel Agar
2017-04-27 20:41:05 -04:00
committed by Nuno Marques
parent 8ddd071f18
commit 5331768cb3
+1 -1
View File
@@ -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;