0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

Fix warning

This commit is contained in:
Alberto Lerner 2010-06-11 12:57:11 -04:00
parent 73d7c86b4a
commit 228f04390a

View File

@ -203,7 +203,6 @@ namespace mongo {
for( list<Target>::iterator i = L.begin(); i != L.end(); i++ ) {
log() << "replSet TEMP elect res: " << i->result.toString() << rsLog;
Target& t = *i;
if( i->ok ) {
int v = i->result["vote"].Int();
tally += v;