vppinfra: fix coverity 249217
Zero-initialize the temporary struct. Type: fix Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> Change-Id: I8d73feae427a17470c47d1551ba7078213b589fc
This commit is contained in:

committed by
Beno�t Ganne

parent
aac685640a
commit
174f5c8502
@ -1198,7 +1198,7 @@ elog_write_file_not_inline (elog_main_t * em, char *clib_file, int flush_ring)
|
||||
__clib_export clib_error_t *
|
||||
elog_read_file_not_inline (elog_main_t * em, char *clib_file)
|
||||
{
|
||||
serialize_main_t m;
|
||||
serialize_main_t m = { 0 };
|
||||
clib_error_t *error;
|
||||
|
||||
error = unserialize_open_clib_file (&m, clib_file);
|
||||
|
Reference in New Issue
Block a user