From 5284a133b0e13ed4d9efaf1fa3514a9521042744 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Fri, 11 Nov 2016 21:07:30 -0800 Subject: [PATCH] silence "parameter 'notifier' is unused." --- src/fish_tests.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index f08eeecbf..9419ce0da 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -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");