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