mirror of https://github.com/ericonr/sndio.git
remove braces around single-statement block
This commit is contained in:
parent
33bbca5999
commit
4dcfed9dce
|
@ -433,9 +433,8 @@ dev_midi_omsg(void *arg, unsigned char *msg, int len)
|
||||||
switch (x->type) {
|
switch (x->type) {
|
||||||
case SYSEX_TYPE_RT:
|
case SYSEX_TYPE_RT:
|
||||||
if (x->id0 == SYSEX_CONTROL && x->id1 == SYSEX_MASTER) {
|
if (x->id0 == SYSEX_CONTROL && x->id1 == SYSEX_MASTER) {
|
||||||
if (len == SYSEX_SIZE(master)) {
|
if (len == SYSEX_SIZE(master))
|
||||||
dev_master(d, x->u.master.coarse);
|
dev_master(d, x->u.master.coarse);
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (x->id0 != SYSEX_MMC)
|
if (x->id0 != SYSEX_MMC)
|
||||||
|
|
Loading…
Reference in New Issue