PVS V502: missing parentheses around ternary operator
Change-Id: If3179e7b0a583f64e2d690a2f62526bd527e2964 Reviewed-on: https://review.haiku-os.org/c/1599 Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
parent
16d463ae1d
commit
11cba1646d
@ -2171,7 +2171,7 @@ emuxki_setup(emuxki_dev * card)
|
||||
|
||||
#if MIDI
|
||||
//SBLIVE : EMU_MUDATA, workaround 0, AUDIGY, AUDIGY2: 0, workaround 0x11020004
|
||||
if ((err = (*mpu401->create_device)((card->config.nabmbar + !IS_AUDIGY(&card->config) ? EMU_MUDATA : 0),
|
||||
if ((err = (*mpu401->create_device)((card->config.nabmbar + (!IS_AUDIGY(&card->config) ? EMU_MUDATA : 0)),
|
||||
&card->midi.driver, !IS_AUDIGY(&card->config) ? 0 : 0x11020004, midi_interrupt_op, &card->midi)) < B_OK)
|
||||
return (err);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user