summaryrefslogtreecommitdiff
path: root/db/repl/rs_initialsync.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2010-07-19 09:40:15 -0400
committerAlberto Lerner <alerner@10gen.com>2010-07-19 09:40:15 -0400
commitd0d79d0fbf732f81bf0268be757a03af8864f286 (patch)
tree1dc71e9cd1298dd19c41a9103115c26b02f684ee /db/repl/rs_initialsync.cpp
parente598a0c2b2495673e58de4a9cc1b39a84628a99a (diff)
downloadmongo-d0d79d0fbf732f81bf0268be757a03af8864f286.tar.gz
Fix warnings
Diffstat (limited to 'db/repl/rs_initialsync.cpp')
-rw-r--r--db/repl/rs_initialsync.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/db/repl/rs_initialsync.cpp b/db/repl/rs_initialsync.cpp
index dda8e9bf21d..2cf25f0297f 100644
--- a/db/repl/rs_initialsync.cpp
+++ b/db/repl/rs_initialsync.cpp
@@ -71,7 +71,6 @@ namespace mongo {
BSONObj lastOp = r.getLastOp(rsoplog);
OpTime ts = lastOp["ts"]._opTime();
- long long h = lastOp["h"].numberLong();
{
/* make sure things aren't too flappy */