From 7211802fc089b106348a4247d2c97334b0c28ec6 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sun, 1 Jan 2017 21:48:40 -0800 Subject: [PATCH] silence unused parmeter warning --- src/env_universal_common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index ee6669cd0..de47fe07b 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -1347,6 +1347,7 @@ class universal_notifier_named_pipe_t : public universal_notifier_t { #else // this class isn't valid on this system public: universal_notifier_named_pipe_t(const wchar_t *test_path) { + auto x = test_path; // silence "unused parameter" warning DIE("universal_notifier_named_pipe_t cannot be used on this system"); } #endif