diff options
author | Andrew Morrow <acm@10gen.com> | 2013-02-28 16:02:03 -0500 |
---|---|---|
committer | Andrew Morrow <acm@10gen.com> | 2013-03-08 11:27:07 -0500 |
commit | 9e271caab68b239713c08221693e767055284824 (patch) | |
tree | 38cb9b749a1ab3b6dadb36433b7198b80a7084f5 /src/mongo/util/fail_point_test.cpp | |
parent | 5f34f4471c8982ecc1aa8b1b7c4606f8f079fe4c (diff) | |
download | mongo-9e271caab68b239713c08221693e767055284824.tar.gz |
Examine return value of fail point to placate clang
Diffstat (limited to 'src/mongo/util/fail_point_test.cpp')
-rw-r--r-- | src/mongo/util/fail_point_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/fail_point_test.cpp b/src/mongo/util/fail_point_test.cpp index 5906768f58c..676cbaec42f 100644 --- a/src/mongo/util/fail_point_test.cpp +++ b/src/mongo/util/fail_point_test.cpp @@ -210,7 +210,7 @@ namespace mongo_test { static void simpleTask(FailPoint* failPoint) { while (true) { - MONGO_FAIL_POINT((*failPoint)); + static_cast<void>(MONGO_FAIL_POINT((*failPoint))); boost::this_thread::interruption_point(); } } |