summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar R. Belmont <rb6502@users.noreply.github.com>2019-08-31 16:37:53 -0400
committerGravatarGravatar GitHub <noreply@github.com>2019-08-31 16:37:53 -0400
commit0bb9a735059a6438cde8db00b676860f45d15bae (patch)
tree45790828615f0d289cfd90a00a1171908f044e01
parentf660f828d14ab9d118d3924d23752f5434f22e14 (diff)
parent96a0ad2d5937af14c0081380911c43d62766b85d (diff)
Merge pull request #5572 from MoochMcGee/master
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();