rocksdb/env
jsteemann 4e7a182d09 Several small "fixes"
Summary:
- removed a few unneeded variables
- fused some variable declarations and their assignments
- fixed right-trimming code in string_util.cc to not underflow
- simplifed an assertion
- move non-nullptr check assertion before dereferencing of that pointer
- pass an std::string function parameter by const reference instead of by value (avoiding potential copy)
Closes https://github.com/facebook/rocksdb/pull/3507

Differential Revision: D7004679

Pulled By: sagar0

fbshipit-source-id: 52944952d9b56dfcac3bea3cd7878e315bb563c4
2018-02-15 16:57:37 -08:00
..
env_basic_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
env_chroot.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
env_chroot.h Change RocksDB License 2017-07-15 16:11:23 -07:00
env_encryption.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
env_hdfs.cc Add a Close() method to DB to return status when closing a db 2018-01-16 11:08:57 -08:00
env_posix.cc Several small "fixes" 2018-02-15 16:57:37 -08:00
env_test.cc Fix crashes, address test issues and adjust windows test script 2017-11-10 10:41:57 -08:00
env.cc Add a Close() method to DB to return status when closing a db 2018-01-16 11:08:57 -08:00
io_posix.cc Suppress unused warnings 2018-02-02 12:27:07 -08:00
io_posix.h Stream 2017-11-10 09:26:24 -08:00
mock_env_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
mock_env.cc Fix unused var warnings in Release mode 2017-10-23 14:27:04 -07:00
mock_env.h Change RocksDB License 2017-07-15 16:11:23 -07:00
posix_logger.h Add a Close() method to DB to return status when closing a db 2018-01-16 11:08:57 -08:00