From c1be8d86c6a802b4b9bd8b15f336f582370ed6cd Mon Sep 17 00:00:00 2001 From: Prashant D Date: Tue, 31 Oct 2017 01:24:20 -0700 Subject: [PATCH] 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 --- env/env_posix.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/env/env_posix.cc b/env/env_posix.cc index a120f863e..5644c5a8a 100644 --- a/env/env_posix.cc +++ b/env/env_posix.cc @@ -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,