From e8bbf9c239d94a4f3acd1410df160460ffb6ef34 Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 29 Mar 2017 12:11:06 +0100 Subject: fix building with clang on windows (extraneous parenthesis warning) (nw) --- src/devices/sound/ymf262.cpp | 4 ++-- 1 file 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; -- cgit v1.2.3