summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/c.strings
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-09-15 14:46:03 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-09-15 14:46:03 +0000
commitf979baabbbbce88513243e755185e6d284d7f082 (patch)
tree77ac8f01171572d61b01287be761ec6f71df62d6 /libcxx/test/std/strings/c.strings
parente861e6442c7d7f5e665ae7a4877d0cdd4047682c (diff)
downloadbcm5719-llvm-f979baabbbbce88513243e755185e6d284d7f082.tar.gz
bcm5719-llvm-f979baabbbbce88513243e755185e6d284d7f082.zip
Change initialization of mbstate_t objects in tests from '= {0}' to '= {}', which does the same thing, w/o having clang and gcc warn with -Wall.
llvm-svn: 247695
Diffstat (limited to 'libcxx/test/std/strings/c.strings')
-rw-r--r--libcxx/test/std/strings/c.strings/cwchar.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/strings/c.strings/cwchar.pass.cpp b/libcxx/test/std/strings/c.strings/cwchar.pass.cpp
index c3d868fbc3b..93d2bb1efa5 100644
--- a/libcxx/test/std/strings/c.strings/cwchar.pass.cpp
+++ b/libcxx/test/std/strings/c.strings/cwchar.pass.cpp
@@ -30,7 +30,7 @@
int main()
{
- std::mbstate_t mb = {0};
+ std::mbstate_t mb = {};
std::size_t s = 0;
std::tm *tm = 0;
std::wint_t w = 0;
OpenPOWER on IntegriCloud