From f979baabbbbce88513243e755185e6d284d7f082 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 15 Sep 2015 14:46:03 +0000 Subject: 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 --- libcxx/test/std/strings/c.strings/cwchar.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/std/strings/c.strings') 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; -- cgit v1.2.3