From 830df63d4cd83a1d79ba7b1df4d5f83b51dc893a Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Thu, 17 Dec 2020 16:41:13 -0500 Subject: [PATCH] chatter: make it build with clang Silence the unused variable warning. The compiler is correct, but we may implement line-level debug at some point in the future, so we want to keep the member and parameters. Signed-off-by: Zygo Blaxell --- lib/chatter.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/chatter.cc b/lib/chatter.cc index e5a24f9..89cff96 100644 --- a/lib/chatter.cc +++ b/lib/chatter.cc @@ -124,6 +124,7 @@ namespace crucible { } else if (!chatter_names->empty()) { cerr << "CRUCIBLE_CHATTER does not list '" << m_file << "' or '" << m_pretty_function << "'" << endl; } + (void)m_line; // not implemented yet // cerr << "ChatterBox " << reinterpret_cast(this) << " constructed" << endl; }