diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-05-14 15:38:08 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-05-14 15:38:08 +0000 |
commit | af6c26b366a308bc46dc1fa3104a042741367b4f (patch) | |
tree | ac356ef59e95b9c90ea832ac1f30249682af8384 /libcxx/test/numerics/rand | |
parent | 3962348edfc011298240a7ef4c8b730195f14e61 (diff) | |
download | bcm5719-llvm-af6c26b366a308bc46dc1fa3104a042741367b4f.tar.gz bcm5719-llvm-af6c26b366a308bc46dc1fa3104a042741367b4f.zip |
Warning suppression in test.
llvm-svn: 131344
Diffstat (limited to 'libcxx/test/numerics/rand')
-rw-r--r-- | libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp b/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp index 792db33a6bc..20a20445217 100644 --- a/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp +++ b/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp @@ -39,8 +39,6 @@ public: explicit rand1(result_type sd = Min) : x_(sd) { - if (x_ < Min) - x_ = Min; if (x_ > Max) x_ = Max; } |