diff options
Diffstat (limited to 'src/svm/svmdb.c')
-rw-r--r-- | src/svm/svmdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svm/svmdb.c b/src/svm/svmdb.c index 7628c0ae809..531ea1fbb0d 100644 --- a/src/svm/svmdb.c +++ b/src/svm/svmdb.c @@ -433,7 +433,7 @@ svmdb_local_serialize_strings (svmdb_client_t * client, char *filename) u8 *key; u32 value; svmdb_shm_hdr_t *shm = client->shm; - serialize_main_t _sm, *sm = &_sm; + serialize_main_t _sm = { 0 }, *sm = &_sm; clib_error_t *error = 0; u8 *sanitized_name = 0; int fd = 0; @@ -495,7 +495,7 @@ out: int svmdb_local_unserialize_strings (svmdb_client_t * client, char *filename) { - serialize_main_t _sm, *sm = &_sm; + serialize_main_t _sm = { 0 }, *sm = &_sm; void *oldheap; clib_error_t *error = 0; u8 *key, *value; |