libstdc++, testsuite: Correct an init.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 24 Dec 2022 11:04:41 +0000 (11:04 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 24 Dec 2022 17:51:12 +0000 (17:51 +0000)
commit4c3a036be5f4dd68e0e4d8fb3a152c06538f5872
tree731859d0b2b8d29d74614a59e81c83029d50479a
parent163f0f2267370575a9950e7e30a2c9cd72f559f0
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.
libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc