summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-04 15:07:15 -0400
committerDavid Robillard <d@drobilla.net>2024-06-04 15:07:15 -0400
commit963599cea655f5db88c9dc08076625d42d60d27c (patch)
treebe3bff07f402df6fd492acc16c2b38c1ab2f406d
parent962ff38250da895970cd5b3d33d2470b9852505b (diff)
downloadraul-963599cea655f5db88c9dc08076625d42d60d27c.tar.gz
raul-963599cea655f5db88c9dc08076625d42d60d27c.tar.bz2
raul-963599cea655f5db88c9dc08076625d42d60d27c.zip
Avoid empty catch block
Mainly to appease clang-tidy.
-rw-r--r--test/build_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/build_test.cpp b/test/build_test.cpp
index 169c331..f8c3085 100644
--- a/test/build_test.cpp
+++ b/test/build_test.cpp
@@ -39,7 +39,8 @@ main()
try {
const raul::Symbol bad_symbol("not a valid symbol!");
(void)bad_symbol;
- } catch (const raul::Exception&) {
+ } catch (const raul::Exception& e) {
+ (void)e;
}
#if !defined(_WIN32) && !defined(__EMSCRIPTEN__)