summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-09-25 15:32:50 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-09-25 15:32:50 -0400
commit606b7a8d7c0387a296784b20fe249133dbb38f06 (patch)
tree78dd37e67ee9d84deb6c5bc92992a53057501b7b
parent0a051f10c9c258a51856ff3f1ac0b462852e5015 (diff)
tms32082: Fix clang build
-rw-r--r--src/devices/cpu/tms32082/tms32082.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/tms32082/tms32082.cpp b/src/devices/cpu/tms32082/tms32082.cpp
index 69a72447e60..368d058e63f 100644
--- a/src/devices/cpu/tms32082/tms32082.cpp
+++ b/src/devices/cpu/tms32082/tms32082.cpp
@@ -74,7 +74,7 @@ std::unique_ptr<util::disasm_interface> tms32082_mp_device::create_disassembler(
void tms32082_mp_device::tc_command_execute(int channel, uint32_t entrypoint)
{
- static const char* CHANNEL_NAME[16] = {
+ [[maybe_unused]] static const char* CHANNEL_NAME[16] = {
"XPT15", "XPT14", "XPT13", "XPT12", "XPT11", "XPT10", "XPT9", "XPT8",
"XPT7", "XPT6", "XPT5", "XPT4", "XPT3", "XPT2", "XPT1", "MP"
};