13
0

Fix crashes due to missing return value

due to -fomit-frame-pointer a missing return value leads
to stack corruption. This also fixes the return type.
This commit is contained in:
Robin Gareus 2022-10-03 19:38:30 +02:00
parent a0a2138651
commit aedf697646
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1748,10 +1748,11 @@ Session::bang_trigger_at (int32_t route_index, int32_t row_index)
}
if (index == route_index) {
r->triggerbox()->bang_trigger_at(row_index);
return 1;
return true;
}
index++;
}
return false;
}
bool
@ -1774,10 +1775,11 @@ Session::unbang_trigger_at (int32_t route_index, int32_t row_index)
}
if (index == route_index) {
r->triggerbox()->unbang_trigger_at(row_index);
return 1;
return true;
}
index++;
}
return false;
}
void