mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 03:07:36 +02:00
Fix warnings
(cherry picked from commit 6274401919
)
# Conflicts:
# fmt/printf.h
# test/string-test.cc
This commit is contained in:
committed by
Jonathan Müller
parent
5c69ecdd5e
commit
4a24a38861
@ -1225,7 +1225,7 @@ TEST(FormatterTest, FormatOct) {
|
|||||||
|
|
||||||
TEST(FormatterTest, FormatIntLocale) {
|
TEST(FormatterTest, FormatIntLocale) {
|
||||||
ScopedMock<LocaleMock> mock;
|
ScopedMock<LocaleMock> mock;
|
||||||
lconv lc = {};
|
lconv lc = lconv();
|
||||||
char sep[] = "--";
|
char sep[] = "--";
|
||||||
lc.thousands_sep = sep;
|
lc.thousands_sep = sep;
|
||||||
EXPECT_CALL(mock, localeconv()).Times(3).WillRepeatedly(testing::Return(&lc));
|
EXPECT_CALL(mock, localeconv()).Times(3).WillRepeatedly(testing::Return(&lc));
|
||||||
|
Reference in New Issue
Block a user