fix compilation warnings
This commit is contained in:
parent
ddad9eafba
commit
253e9f9700
@ -1606,7 +1606,7 @@ static char *GetLineChar(int fin, int fout) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
write(fout, "\n", 1);
|
(void)write(fout, "\n", 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else if (seq[0] == Ctrl('D')) {
|
} else if (seq[0] == Ctrl('D')) {
|
||||||
|
@ -37,7 +37,7 @@ try {
|
|||||||
bool midi::Rt_Midi::connect_or_create_output()
|
bool midi::Rt_Midi::connect_or_create_output()
|
||||||
try {
|
try {
|
||||||
output.emplace();
|
output.emplace();
|
||||||
if (auto pc = output->getPortCount()) {
|
if (output->getPortCount()) {
|
||||||
output->openPort(0);
|
output->openPort(0);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user