summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-07-10 23:29:10 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-07-10 23:29:10 -0400
commit26e1482262d19193d3ee9b8c730af941ae0a967b (patch)
tree09fe73868a8fd478fd3c754deecbb2fce961957a
parent7ae77915e7fac9719c7e3b37d1b737f3fc5f6a59 (diff)
Fix clang error: unused variable 'FRAC_MASK' [-Werror,-Wunused-const-variable]
-rw-r--r--src/devices/sound/ymz280b.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/sound/ymz280b.cpp b/src/devices/sound/ymz280b.cpp
index b777f56b89d..51851af98d2 100644
--- a/src/devices/sound/ymz280b.cpp
+++ b/src/devices/sound/ymz280b.cpp
@@ -42,7 +42,6 @@
static constexpr unsigned FRAC_BITS = 9;
static constexpr unsigned FRAC_ONE = (1 << FRAC_BITS);
-static constexpr unsigned FRAC_MASK = (FRAC_ONE - 1);
//#define INTERNAL_BUFFER_SIZE (1 << 15)
#define INTERNAL_SAMPLE_RATE (m_master_clock * 2.0)