Fix removed structurally dead return statement

Summary:
There seems to be a typo mistake in env ReuseWritableFile func
where status is being returned twice.
Closes https://github.com/facebook/rocksdb/pull/3099

Differential Revision: D6196204

Pulled By: ajkr

fbshipit-source-id: abb6e3e1c1e772dd485fc39e7f1b9d502fa188fe
This commit is contained in:
Prashant D 2017-10-31 01:24:20 -07:00 committed by Facebook Github Bot
parent 4d43c6a6a4
commit c1be8d86c6

2
env/env_posix.cc vendored
View File

@ -428,8 +428,6 @@ class PosixEnv : public Env {
result->reset(new PosixWritableFile(fname, fd, no_mmap_writes_options));
}
return s;
return s;
}
virtual Status NewRandomRWFile(const std::string& fname,