Author: hhinnant
Date: Sat May 14 10:38:08 2011
New Revision: 131344
URL: http://llvm.org/viewvc/llvm-project?rev=131344&view=rev
Log:
Warning suppression in test.
Modified:
libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp
Modified:
libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp?rev=131344&r1=131343&r2=131344&view=diff
==============================================================================
--- libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp
(original)
+++ libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.shuf/eval.pass.cpp
Sat May 14 10:38:08 2011
@@ -39,8 +39,6 @@
explicit rand1(result_type sd = Min) : x_(sd)
{
- if (x_ < Min)
- x_ = Min;
if (x_ > Max)
x_ = Max;
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits