summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatarGravatar MoochMcGee <mszoopers@protonmail.com>2019-08-31 00:50:04 -0500
committerGravatarGravatar MoochMcGee <mszoopers@protonmail.com>2019-08-31 00:50:04 -0500
commit96a0ad2d5937af14c0081380911c43d62766b85d (patch)
tree16cc0e201c453455165d79829531b8356bebe3d2
parentf7f5bedbbe8ecba321a045216d291a02e7fe85e9 (diff)
Fix some clang warnings (nw)
-rw-r--r--3rdparty/asio/include/asio/buffer.hpp2
-rw-r--r--src/emu/rendlay.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/asio/include/asio/buffer.hpp b/3rdparty/asio/include/asio/buffer.hpp
index 7d53ddec089..094353eb52d 100644
--- a/3rdparty/asio/include/asio/buffer.hpp
+++ b/3rdparty/asio/include/asio/buffer.hpp
@@ -706,7 +706,7 @@ public:
void operator()()
{
- *iter_;
+ (void)*iter_;
}
private:
diff --git a/src/emu/rendlay.cpp b/src/emu/rendlay.cpp
index aa111f25e85..b6efcde5f08 100644
--- a/src/emu/rendlay.cpp
+++ b/src/emu/rendlay.cpp
@@ -205,7 +205,7 @@ private:
{
std::istringstream stream(m_text);
stream.imbue(f_portable_locale);
- m_text.c_str();
+ (void)m_text.c_str();
if (m_text[0] == '$')
{
stream.get();
@@ -242,7 +242,7 @@ private:
{
std::istringstream stream(m_text);
stream.imbue(f_portable_locale);
- m_text.c_str();
+ (void)m_text.c_str();
if (m_text[0] == '$')
{
stream.get();
@@ -302,7 +302,7 @@ private:
{
std::istringstream stream(m_text);
stream.imbue(f_portable_locale);
- m_text.c_str();
+ (void)m_text.c_str();
if (m_text[0] == '$')
{
stream.get();