From 052b070a854c9ac8648d976f18c4b92729244a21 Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 6 Sep 2019 19:32:45 -0400 Subject: rendlay.cpp: Remove useless c_str calls (nw) --- src/emu/rendlay.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/emu/rendlay.cpp b/src/emu/rendlay.cpp index b6efcde5f08..23a60c57e13 100644 --- a/src/emu/rendlay.cpp +++ b/src/emu/rendlay.cpp @@ -205,7 +205,6 @@ private: { std::istringstream stream(m_text); stream.imbue(f_portable_locale); - (void)m_text.c_str(); if (m_text[0] == '$') { stream.get(); @@ -242,7 +241,6 @@ private: { std::istringstream stream(m_text); stream.imbue(f_portable_locale); - (void)m_text.c_str(); if (m_text[0] == '$') { stream.get(); @@ -302,7 +300,6 @@ private: { std::istringstream stream(m_text); stream.imbue(f_portable_locale); - (void)m_text.c_str(); if (m_text[0] == '$') { stream.get(); @@ -2470,8 +2467,7 @@ private: // allocate a temporary bitmap bitmap_argb32 tempbitmap(dest.width(), dest.height()); - - const char *origs =m_stopnames[fruit].c_str(); + const char *origs = m_stopnames[fruit].c_str(); const char *ends = origs + strlen(origs); const char *s = origs; char32_t schar; -- cgit v1.2.3