[cfe-commits] [libcxx] r131343 - /libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.ibits/eval.pass.cpp

Howard Hinnant hhinnant at apple.com
Sat May 14 08:36:25 PDT 2011


Author: hhinnant
Date: Sat May 14 10:36:25 2011
New Revision: 131343

URL: http://llvm.org/viewvc/llvm-project?rev=131343&view=rev
Log:
Warning suppression in test.

Modified:
    libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.ibits/eval.pass.cpp

Modified: libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.ibits/eval.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.ibits/eval.pass.cpp?rev=131343&r1=131342&r2=131343&view=diff
==============================================================================
--- libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.ibits/eval.pass.cpp (original)
+++ libcxx/trunk/test/numerics/rand/rand.adapt/rand.adapt.ibits/eval.pass.cpp Sat May 14 10:36:25 2011
@@ -39,8 +39,6 @@
 
     explicit rand1(result_type sd = Min) : x_(sd)
     {
-        if (x_ < Min)
-            x_ = Min;
         if (x_ > Max)
             x_ = Max;
     }





More information about the cfe-commits mailing list