From 8d471e67610edf35ca2d79ada210dae3e8b8db41 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 28 May 2021 12:18:40 -0400 Subject: [PATCH] Remove extraneous parentheses (Wparentheses-equality) --- libs/backends/alsa/alsa_rawmidi.cc | 2 +- libs/backends/alsa/alsa_sequencer.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/backends/alsa/alsa_rawmidi.cc b/libs/backends/alsa/alsa_rawmidi.cc index d3d1e1d55f..6872f259b6 100644 --- a/libs/backends/alsa/alsa_rawmidi.cc +++ b/libs/backends/alsa/alsa_rawmidi.cc @@ -200,7 +200,7 @@ retry: printf ("\n"); #endif - if ((err == -EAGAIN)) { + if (err == -EAGAIN) { snd_rawmidi_drain (_device); goto retry; } diff --git a/libs/backends/alsa/alsa_sequencer.cc b/libs/backends/alsa/alsa_sequencer.cc index a2acbb03e2..504e01839e 100644 --- a/libs/backends/alsa/alsa_sequencer.cc +++ b/libs/backends/alsa/alsa_sequencer.cc @@ -199,7 +199,7 @@ retry: ssize_t err = snd_seq_event_output(_seq, &alsa_event); - if ((err == -EAGAIN)) { + if (err == -EAGAIN) { snd_seq_drain_output (_seq); goto retry; }