mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 03:47:42 +01:00
triggerbox: remove unused local variable
This commit is contained in:
parent
4d15bf9f18
commit
7afc8f7a31
1 changed files with 0 additions and 4 deletions
|
|
@ -2547,17 +2547,13 @@ TriggerBox::determine_next_trigger (uint32_t current)
|
|||
* random number and the probability setting)
|
||||
*/
|
||||
|
||||
int which_follow_action = 0;
|
||||
|
||||
int r = _pcg.rand (100); // 0 .. 99
|
||||
Trigger::FollowAction fa;
|
||||
|
||||
if (r >= all_triggers[current]->follow_action_probability()) {
|
||||
fa = all_triggers[current]->follow_action (0);
|
||||
which_follow_action = 0;
|
||||
} else {
|
||||
fa = all_triggers[current]->follow_action (1);
|
||||
which_follow_action = 1;
|
||||
}
|
||||
|
||||
/* first switch: deal with the "special" cases where we either do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue