audio/usb: Fix for condition
Pointed out by cppcheck. Change-Id: Ief24915908bbab41955924279847ba56faa12b09 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3506 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
cdccd323b5
commit
799e367afd
@ -231,7 +231,7 @@ _Terminal::_GetTerminalDescription(uint16 TerminalType)
|
||||
{ USB_AUDIO_INSTRUMENT_IO, "Musical Instrument" }
|
||||
};
|
||||
|
||||
for (size_t i = 0; B_COUNT_OF(termInfoPairs); i++)
|
||||
for (size_t i = 0; i < B_COUNT_OF(termInfoPairs); i++)
|
||||
if (termInfoPairs[i].type == TerminalType)
|
||||
return termInfoPairs[i].description;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user