Merge pull request #5572 from MoochMcGee/master

Fix some clang warnings (nw)
This commit is contained in:
R. Belmont 2019-08-31 16:37:53 -04:00 committed by GitHub
commit 0bb9a73505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -706,7 +706,7 @@ public:
void operator()() void operator()()
{ {
*iter_; (void)*iter_;
} }
private: private:

View File

@ -205,7 +205,7 @@ private:
{ {
std::istringstream stream(m_text); std::istringstream stream(m_text);
stream.imbue(f_portable_locale); stream.imbue(f_portable_locale);
m_text.c_str(); (void)m_text.c_str();
if (m_text[0] == '$') if (m_text[0] == '$')
{ {
stream.get(); stream.get();
@ -242,7 +242,7 @@ private:
{ {
std::istringstream stream(m_text); std::istringstream stream(m_text);
stream.imbue(f_portable_locale); stream.imbue(f_portable_locale);
m_text.c_str(); (void)m_text.c_str();
if (m_text[0] == '$') if (m_text[0] == '$')
{ {
stream.get(); stream.get();
@ -302,7 +302,7 @@ private:
{ {
std::istringstream stream(m_text); std::istringstream stream(m_text);
stream.imbue(f_portable_locale); stream.imbue(f_portable_locale);
m_text.c_str(); (void)m_text.c_str();
if (m_text[0] == '$') if (m_text[0] == '$')
{ {
stream.get(); stream.get();