diff options
author | smf- <smf-@users.noreply.github.com> | 2017-03-29 12:11:06 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2017-03-29 12:11:06 +0100 |
commit | e8bbf9c239d94a4f3acd1410df160460ffb6ef34 (patch) | |
tree | 09c00b2fc0ecb7d6e8d26a5bfd3838e231d68295 | |
parent | aae91778cb7858d05c5f4368f0fd8fee02ba3ce7 (diff) |
fix building with clang on windows (extraneous parenthesis warning) (nw)
-rw-r--r-- | src/devices/sound/ymf262.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/ymf262.cpp b/src/devices/sound/ymf262.cpp index 18aac9afb3e..fe83bcf8e0d 100644 --- a/src/devices/sound/ymf262.cpp +++ b/src/devices/sound/ymf262.cpp @@ -606,9 +606,9 @@ static int num_lock = 0; static inline void OPL3_SLOT_CONNECT(OPL3 *chip, OPL3_SLOT *slot) { - if ((slot->conn_enum == CONN_NULL)) { + if (slot->conn_enum == CONN_NULL) { slot->connect = nullptr; - } else if ((slot->conn_enum >= CONN_CHAN0) && (slot->conn_enum < CONN_PHASEMOD)) { + } else if (slot->conn_enum >= CONN_CHAN0 && slot->conn_enum < CONN_PHASEMOD) { slot->connect = &chip->chanout[slot->conn_enum]; } else if (slot->conn_enum == CONN_PHASEMOD) { slot->connect = &chip->phase_modulation; |