Skip to content

Commit c92c128

Browse files
Braces for one-liner if statements
Add braces for one-liner if statements.
1 parent bafb0f1 commit c92c128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/audio/AudioJack.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ void AudioJack::attemptToConnect(size_t index, const char *lmms_port_type, const
261261

262262
void AudioJack::attemptToReconnectOutput(size_t outputIndex, const QString& targetPort)
263263
{
264-
if (outputIndex >= m_outputPorts.size()) return;
264+
if (outputIndex >= m_outputPorts.size()) { return; }
265265

266266
if (targetPort == disconnectedRepresentation)
267267
{
@@ -277,7 +277,7 @@ void AudioJack::attemptToReconnectOutput(size_t outputIndex, const QString& targ
277277

278278
void AudioJack::attemptToReconnectInput(size_t inputIndex, const QString& sourcePort)
279279
{
280-
if (inputIndex >= m_inputPorts.size()) return;
280+
if (inputIndex >= m_inputPorts.size()) { return; }
281281

282282
if (sourcePort == disconnectedRepresentation)
283283
{

0 commit comments

Comments
 (0)