diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2022-12-24 11:04:41 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2022-12-24 17:51:12 +0000 |
commit | 4c3a036be5f4dd68e0e4d8fb3a152c06538f5872 (patch) | |
tree | 731859d0b2b8d29d74614a59e81c83029d50479a | |
parent | 163f0f2267370575a9950e7e30a2c9cd72f559f0 (diff) | |
download | gcc-4c3a036be5f4dd68e0e4d8fb3a152c06538f5872.zip gcc-4c3a036be5f4dd68e0e4d8fb3a152c06538f5872.tar.gz gcc-4c3a036be5f4dd68e0e4d8fb3a152c06538f5872.tar.bz2 |
libstdc++, testsuite: Correct an init.
in leap_seconds.cc, we are testing to see if the function that
overrides the default zoneinfo directory has been called. That
is implemented with a static boolean that needs to be initialized
to false.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libstdc++-v3/ChangeLog:
* testsuite/std/time/tzdb/leap_seconds.cc: Initialize the
override_used test var to false.
-rw-r--r-- | libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc b/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc index 82303e8..2b28943 100644 --- a/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc +++ b/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc @@ -7,7 +7,7 @@ #include <fstream> #include <testsuite_hooks.h> -static bool override_used = true; +static bool override_used = false; namespace __gnu_cxx { |