mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 10:11:10 +08:00
silence "parameter 'notifier' is unused."
This commit is contained in:
parent
2d26a262e7
commit
5284a133b0
@ -2404,6 +2404,10 @@ bool poll_notifier(universal_notifier_t *note) {
|
||||
|
||||
static void trigger_or_wait_for_notification(universal_notifier_t *notifier,
|
||||
universal_notifier_t::notifier_strategy_t strategy) {
|
||||
// This argument should be removed if it isn't actually needed by these unit tests. I'm going to
|
||||
// silence the warning. See https://github.com/fish-shell/fish-shell/issues/3439.
|
||||
UNUSED(notifier);
|
||||
|
||||
switch (strategy) {
|
||||
case universal_notifier_t::strategy_default: {
|
||||
DIE("strategy_default should be passed");
|
||||
|
Loading…
x
Reference in New Issue
Block a user