diff options
author | David Robillard <d@drobilla.net> | 2024-06-04 15:07:15 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-06-04 15:07:15 -0400 |
commit | 963599cea655f5db88c9dc08076625d42d60d27c (patch) | |
tree | be3bff07f402df6fd492acc16c2b38c1ab2f406d | |
parent | 962ff38250da895970cd5b3d33d2470b9852505b (diff) | |
download | raul-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.cpp | 3 |
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__) |