mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix compiler warning MINOR
This commit is contained in:
parent
f80d887a78
commit
1d091ef8b3
@ -136,7 +136,7 @@ namespace mongo {
|
||||
}
|
||||
|
||||
sort( ports.begin(), ports.end() );
|
||||
for( int i = 1; i < ports.size(); ++i )
|
||||
for( unsigned i = 1; i < ports.size(); ++i )
|
||||
massert( "duplicate ports allocated", ports[ i - 1 ] != ports[ i ] );
|
||||
BSONObjBuilder b;
|
||||
b.append( "", ports );
|
||||
|
Loading…
Reference in New Issue
Block a user