diff options
author | Dave Barach <dave@barachs.net> | 2017-12-13 11:43:13 -0500 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-12-14 09:51:49 +0000 |
commit | 545d9eaeff62af74b6c1d2c27e6067f40685af93 (patch) | |
tree | 90ca2e1137e96bbbe45f219db1c2e9d817998612 /src/vppinfra/maplog.c | |
parent | 2f5eb0afa0893e94ed0115896d274de6f48cb93c (diff) |
VPP-1032: clean up coverity warnings.
"This time, for sure..."
Change-Id: Ie981003842d37c5eb6a0b2fe3abe974a93b86df8
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vppinfra/maplog.c')
-rw-r--r-- | src/vppinfra/maplog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/maplog.c b/src/vppinfra/maplog.c index 158361b0bda..deb07aa9b76 100644 --- a/src/vppinfra/maplog.c +++ b/src/vppinfra/maplog.c @@ -394,6 +394,7 @@ clib_maplog_process (char *file_basename, void *fp_arg) goto out; } (void) close (fd); + fd = -1; file_size_in_bytes = h->file_size_in_records * h->record_size_in_cachelines * CLIB_CACHE_LINE_BYTES; |