rocksdb/file
Zhongyi Xie d7d8605f56 Fix a clang analyze warning (#5398)
Summary:
Clang analyzer is reporting a false positive warning thinking `type` is uninitialized. The variable is initialized by `ParseFileName` by reference so assigning a default value to keep clang happy.
Current failure:
```
file/filename.cc:435:15: warning: The left operand of '==' is a garbage value
        (type == kInfoLogFile)) {
         ~~~~ ^
1 warning generated.
```
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5398

Differential Revision: D15588421

Pulled By: miasantreble

fbshipit-source-id: fb121c270300f3a659e68bc7f6674ff4ddf2df9a
2019-05-31 17:02:51 -07:00
..
delete_scheduler_test.cc Move some memory related files from util/ to memory/ (#5382) 2019-05-30 17:44:09 -07:00
delete_scheduler.cc Move some memory related files from util/ to memory/ (#5382) 2019-05-30 17:44:09 -07:00
delete_scheduler.h Move some file related files outside util/ (#5375) 2019-05-29 20:47:06 -07:00
file_util.cc Move some file related files outside util/ (#5375) 2019-05-29 20:47:06 -07:00
file_util.h Move some file related files outside util/ (#5375) 2019-05-29 20:47:06 -07:00
filename.cc Fix a clang analyze warning (#5398) 2019-05-31 17:02:51 -07:00
filename.h Auto roll logger to enforce options.keep_log_file_num immediately after a new file is created (#5370) 2019-05-31 10:50:19 -07:00
sst_file_manager_impl.cc Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00
sst_file_manager_impl.h Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00