From 15b3b0e9f8823752f80c7e597a70749813e61c79 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 15:26:48 -0500 Subject: Always use braces --- src/server/InputPort.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/server/InputPort.cpp') diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index cfc43526..2baa8ff7 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -58,8 +58,9 @@ bool InputPort::apply_poly(RunContext& context, uint32_t poly) { bool ret = PortImpl::apply_poly(context, poly); - if (!ret) + if (!ret) { poly = 1; + } assert(_voices->size() >= poly); -- cgit v1.2.1