summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vppinfra/elog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/elog.c b/src/vppinfra/elog.c
index ddc09a37d72..a0e5712aaab 100644
--- a/src/vppinfra/elog.c
+++ b/src/vppinfra/elog.c
@@ -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);