From 4a24a38861d0ad2411e96e0b3f399c139d09a737 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 6 Nov 2016 12:29:59 -0800 Subject: [PATCH] Fix warnings (cherry picked from commit 627440191950c2cda518dfdb0482aeb75fc623ad) # Conflicts: # fmt/printf.h # test/string-test.cc --- test/format-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/format-test.cc b/test/format-test.cc index 0dfb9847..a3eb907e 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -1225,7 +1225,7 @@ TEST(FormatterTest, FormatOct) { TEST(FormatterTest, FormatIntLocale) { ScopedMock mock; - lconv lc = {}; + lconv lc = lconv(); char sep[] = "--"; lc.thousands_sep = sep; EXPECT_CALL(mock, localeconv()).Times(3).WillRepeatedly(testing::Return(&lc));