diff options
author | Benety Goh <benety@mongodb.com> | 2018-12-19 22:12:09 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-12-19 22:12:09 -0500 |
commit | 47d5c44e53cb8414ba18564a21ca445579d86875 (patch) | |
tree | 6946fc7bacc417bd57bbdbf00168eb12499a4013 /src/mongo/db/repl/bgsync.cpp | |
parent | e2aaa7ea82e98c32ce1af5c197c3806d9d33e4b0 (diff) | |
download | mongo-47d5c44e53cb8414ba18564a21ca445579d86875.tar.gz |
SERVER-38354 remove unused variable
Diffstat (limited to 'src/mongo/db/repl/bgsync.cpp')
-rw-r--r-- | src/mongo/db/repl/bgsync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp index 9f40f752e6e..56b548f5a12 100644 --- a/src/mongo/db/repl/bgsync.cpp +++ b/src/mongo/db/repl/bgsync.cpp @@ -777,7 +777,7 @@ OpTimeWithHash BackgroundSync::_readLastAppliedOpTimeWithHash(OperationContext* // after the initial sync is complete. return OpTimeWithHash(0); } - } catch (const ExceptionForCat<ErrorCategory::ShutdownError>& ex) { + } catch (const ExceptionForCat<ErrorCategory::ShutdownError>&) { throw; } catch (const DBException& ex) { severe() << "Problem reading " << NamespaceString::kRsOplogNamespace.ns() << ": " |