]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix error maybe-uninitialized #11100 (#11101)
authorcodeoos <946118747@qq.com>
Thu, 19 Jan 2023 21:59:48 +0000 (13:59 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 19 Jan 2023 21:59:48 +0000 (13:59 -0800)
commitf4a5446cab9a5797758e5fd491917280a39359ca
tree58f440bda95f3b1fde0ce4c839d8a1c92d71c4c2
parenta5bcbcd8bee480fe193718372caf4de18bf6f7f8
Fix error maybe-uninitialized #11100 (#11101)

Summary:
In this issue [11100](https://github.com/facebook/rocksdb/issues/11100)
I try to upgrade dependencies of [BaikalDB](https://github.com/baidu/BaikalDB) and tool chain to gcc-12.I found that when I build rocksdb v6.26.0(maybe I can use newer version),I found that in file trace_replay/trace_replay.cc,the compiler tell me "error mybe-uninitialized".I dound that it can be fixed very easy,so I make this pull request.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11101

Reviewed By: ajkr

Differential Revision: D42583031

Pulled By: cbi42

fbshipit-source-id: 7f399f09441a30fe88b83cec5e2fd9885bad5c06
trace_replay/trace_replay.cc