Skip to content

Commit ccd6dc4

Browse files
committed
Fixed infinite loop
1 parent ff776a8 commit ccd6dc4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/Utilities/src/Logging.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,9 @@ bool Logging::selectSink(const String& name)
121121
m_selectedSink = m_sinks[index];
122122
status = true;
123123
}
124-
else
125-
{
126-
++index;
127-
}
128124
}
125+
126+
++index;
129127
}
130128

131129
return status;

0 commit comments

Comments
 (0)