From e9429b091f8c3ea447286cb20069d18dc7eebccd Mon Sep 17 00:00:00 2001 From: Mika Lindqvist Date: Wed, 27 Mar 2024 10:00:45 +0200 Subject: [PATCH] [RocksDB] Fix warning about "start_" being uninitialized when used. --- external/rocksdb/tools/db_bench_tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/rocksdb/tools/db_bench_tool.cc b/external/rocksdb/tools/db_bench_tool.cc index 21ef46f5..83e43f7a 100644 --- a/external/rocksdb/tools/db_bench_tool.cc +++ b/external/rocksdb/tools/db_bench_tool.cc @@ -1467,7 +1467,7 @@ class CombinedStats; class Stats { private: int id_; - uint64_t start_; + uint64_t start_ = 0; uint64_t finish_; double seconds_; uint64_t done_;