version_set_test.cc: remove a redundent obj copy (#7880)

Summary:
Remove redundant obj copy

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

Reviewed By: akankshamahajan15

Differential Revision: D26921119

Pulled By: riversand963

fbshipit-source-id: f227da688b067870a069e728a67799a8a95fee99
This commit is contained in:
rockeet 2021-04-01 11:27:57 -07:00 committed by Facebook GitHub Bot
parent 17002365c1
commit 5025c7ec09

View File

@ -2793,11 +2793,9 @@ class VersionSetTestMissingFiles : public VersionSetTestBase,
s = fs_->GetFileSize(fname, IOOptions(), &file_size, nullptr); s = fs_->GetFileSize(fname, IOOptions(), &file_size, nullptr);
ASSERT_OK(s); ASSERT_OK(s);
ASSERT_NE(0, file_size); ASSERT_NE(0, file_size);
FileMetaData meta; file_metas->emplace_back(file_num, /*file_path_id=*/0, file_size, ikey,
meta = FileMetaData(file_num, /*file_path_id=*/0, file_size, ikey, ikey, ikey, 0, 0, false, 0, 0, 0, kUnknownFileChecksum,
0, 0, false, 0, 0, 0, kUnknownFileChecksum, kUnknownFileChecksumFuncName);
kUnknownFileChecksumFuncName);
file_metas->emplace_back(meta);
} }
} }