summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-09-06 19:32:45 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-09-06 19:32:45 -0400
commit052b070a854c9ac8648d976f18c4b92729244a21 (patch)
treeeae8dce5434cf7c448554120d51817c123a8f15f /src
parent9d9a747d88c6bae6b189e0be8c8c89017ee98319 (diff)
rendlay.cpp: Remove useless c_str calls (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/rendlay.cpp6
1 files changed, 1 insertions, 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;