diff --git a/src/emu/rendfont.cpp b/src/emu/rendfont.cpp index a71a119f75f..c5debb5f055 100644 --- a/src/emu/rendfont.cpp +++ b/src/emu/rendfont.cpp @@ -374,7 +374,7 @@ private: void convert_command_glyph(std::string &str) { - str.c_str(); // force NUL-termination - we depend on it later + (void)str.c_str(); // force NUL-termination - we depend on it later std::size_t const len(str.length()); std::vector buf(2 * (len + 1)); std::size_t j(0);