diff options
author | Tad Marshall <tad@10gen.com> | 2012-10-10 17:34:10 -0400 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2012-10-10 18:23:59 -0400 |
commit | 58f861ba2f9e9246dfe5c4901ad9d8c275bee600 (patch) | |
tree | 4619e2296e0d04f4239c60b5d52764baa6c3a286 /src/mongo/platform/random.cpp | |
parent | 532a051330efa57bcf2f27ab597f0ab3130715a1 (diff) | |
download | mongo-58f861ba2f9e9246dfe5c4901ad9d8c275bee600.tar.gz |
fix Windows compile
Diffstat (limited to 'src/mongo/platform/random.cpp')
-rw-r--r-- | src/mongo/platform/random.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/platform/random.cpp b/src/mongo/platform/random.cpp index 04f00b979a9..e7ccecf6634 100644 --- a/src/mongo/platform/random.cpp +++ b/src/mongo/platform/random.cpp @@ -21,6 +21,7 @@ namespace mongo { #ifdef _WIN32 +#pragma warning( disable : 4715 ) // not all control paths return a value int32_t PseudoRandom::nextInt32() { if ( rand_s(&_seed) == 0 ) { // SUCCESS |