0
0
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:
Dwight 2010-03-22 10:39:01 -04:00
parent f154df074d
commit 3ddfaa43db
2 changed files with 2 additions and 2 deletions

0
buildscripts/makedist.py Executable file → Normal file
View File

View 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);