mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
kill warnings on windows
This commit is contained in:
parent
f154df074d
commit
3ddfaa43db
0
buildscripts/makedist.py
Executable file → Normal file
0
buildscripts/makedist.py
Executable file → Normal file
@ -245,7 +245,7 @@ namespace mongo {
|
||||
problem() << "SocketException in connThread, closing client connection" << endl;
|
||||
dbMsgPort.shutdown();
|
||||
}
|
||||
catch ( const ClockSkewException &e ) {
|
||||
catch ( const ClockSkewException & ) {
|
||||
exitCleanly( EXIT_CLOCK_SKEW );
|
||||
}
|
||||
catch ( std::exception &e ) {
|
||||
@ -440,7 +440,7 @@ namespace mongo {
|
||||
|
||||
Date_t start = jsTime();
|
||||
MemoryMappedFile::flushAll( true );
|
||||
time_flushing = jsTime() - start;
|
||||
time_flushing = (int) (jsTime() - start);
|
||||
|
||||
globalFlushCounters.flushed(time_flushing);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user