diff options
author | Mathias Stearn <mathias@10gen.com> | 2011-06-17 17:28:40 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2011-06-17 17:28:40 -0400 |
commit | 3eb1de47f1d19d96ae9facba2afd7e499f90cb7e (patch) | |
tree | 650c0e5f7d8ecbdd5030641703bc4bba98554b7b /client | |
parent | 6c99d204c1bad3f8585d6b751040ef2ea107ec77 (diff) | |
download | mongo-3eb1de47f1d19d96ae9facba2afd7e499f90cb7e.tar.gz |
gcc 4.6 compile
Diffstat (limited to 'client')
-rw-r--r-- | client/dbclient_rs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/dbclient_rs.cpp b/client/dbclient_rs.cpp index 66576a2deba..8eddfa8845d 100644 --- a/client/dbclient_rs.cpp +++ b/client/dbclient_rs.cpp @@ -711,6 +711,7 @@ namespace mongo { *retry = true; } else{ + (void)wasMaster; // silence set-but-not-used warning // assert( wasMaster ); // printStackTrace(); log() << "too many retries (" << _lazyState._retries << "), could not get data from replica set" << endl; |