diff options
author | Aaron <aaron@10gen.com> | 2011-01-31 15:58:25 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2011-01-31 15:58:55 -0800 |
commit | 1cc11c971bce05c6c41e267c582b887231a2ffca (patch) | |
tree | 152cc10ef961b425e1816db9d49022427f1cebfd /db | |
parent | 79994b4325be51d01fe5d787ba1fc7bc5dd6f2ec (diff) | |
download | mongo-1cc11c971bce05c6c41e267c582b887231a2ffca.tar.gz |
remove unused variable
Diffstat (limited to 'db')
-rw-r--r-- | db/repl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/repl.cpp b/db/repl.cpp index 2e1ab14f385..f11dff26c55 100644 --- a/db/repl.cpp +++ b/db/repl.cpp @@ -637,7 +637,7 @@ namespace mongo { } } - static void addSourceToList(ReplSource::SourceVector &v, ReplSource& s, const BSONObj &spec, ReplSource::SourceVector &old) { + static void addSourceToList(ReplSource::SourceVector &v, ReplSource& s, ReplSource::SourceVector &old) { if ( !s.syncedTo.isNull() ) { // Don't reuse old ReplSource if there was a forced resync. for ( ReplSource::SourceVector::iterator i = old.begin(); i != old.end(); ) { if ( s == **i ) { @@ -758,7 +758,7 @@ namespace mongo { } } } - addSourceToList(v, tmp, c->current(), old); + addSourceToList(v, tmp, old); c->advance(); } |