mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix some unused variable warnings
This commit is contained in:
parent
717ac9a8d5
commit
9b9c1aa745
1 changed files with 2 additions and 0 deletions
|
@ -5147,11 +5147,13 @@ static void test_topic_monitor_torture() {
|
|||
for (size_t j = 0; j < (1 << 11); j++) {
|
||||
auto before = gens[i];
|
||||
auto changed = monitor.check(&gens[i], topic_set_t{t1, t2}, true /* wait */);
|
||||
(void)changed;
|
||||
do_test(before[t1] < gens[i][t1]);
|
||||
do_test(gens[i][t1] <= post_count);
|
||||
do_test(gens[i][t2] == 0);
|
||||
}
|
||||
auto amt = completed.fetch_add(1, std::memory_order_relaxed);
|
||||
(void)amt;
|
||||
},
|
||||
i);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue