]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix -Wmisleading-indentation warning in testcase
authorJonathan Wakely <jwakely@redhat.com>
Thu, 12 Dec 2024 23:50:13 +0000 (23:50 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 13 Dec 2024 12:00:42 +0000 (12:00 +0000)
libstdc++-v3/ChangeLog:

* testsuite/26_numerics/random/random_device/entropy.cc: Fix
indentation to avoid -Wmisleading-indentation warning.

libstdc++-v3/testsuite/26_numerics/random/random_device/entropy.cc

index 9f529f5d8141004e500f5eb84476ae44d044b39c..a6bebb39a9ebe2c03899173eaf7d333de10d78fc 100644 (file)
@@ -30,7 +30,7 @@ test01()
       VERIFY( entropy == max );
     }
 
-    for (auto token : { "getentropy", "arc4random" })
+  for (auto token : { "getentropy", "arc4random" })
     if (__gnu_test::random_device_available(token))
     {
       const double entropy = std::random_device(token).entropy();