Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: fixed gcc-13 compilation warnings
Fix the following issue using the same approach as fixes in RocksDB: ``` /data/mysql-server/percona-8.0/storage/rocksdb/rocksdb_plugins/zenfs/fs/fs_zenfs.cc: In member function ‘rocksdb::Status rocksdb::ZenFS::MkFS(std::string, uint32_t)’: /data/mysql-server/percona-8.0/storage/rocksdb/rocksdb_plugins/zenfs/fs/fs_zenfs.cc:1480:32: error: redundant move in return statement [-Werror=redundant-move] 1480 | if (!s.ok()) return std::move(s); | ~~~~~~~~~^~~ /data/mysql-server/percona-8.0/storage/rocksdb/rocksdb_plugins/zenfs/fs/fs_zenfs.cc:1480:32: note: remove ‘std::move’ call ``` Signed-off-by: Przemyslaw Skibinski <[email protected]>
- Loading branch information