From 240ed0cd7b68f3dbaf48fb07e9e861b9fd653fe2 Mon Sep 17 00:00:00 2001 From: sdong Date: Thu, 23 Oct 2014 15:44:45 -0700 Subject: [PATCH] Fix uninitialized parameter caused by D24513 Summary: D24513 introduced a bug that a variable is not initialized. It also causes valgrind issue. Test Plan: Run tests used to fail valgrind and make sure it passes Reviewers: yhchiang, ljin, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D25569 --- db/internal_stats.h | 1 + 1 file changed, 1 insertion(+) diff --git a/db/internal_stats.h b/db/internal_stats.h index 84fd10289..5caa33415 100644 --- a/db/internal_stats.h +++ b/db/internal_stats.h @@ -279,6 +279,7 @@ class InternalStats { write_with_wal(0), write_other(0), write_self(0), + num_keys_written(0), seconds_up(0) {} } db_stats_snapshot_;