]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning in check_solver_within_range(). 17359/head
authorMarc Fehling <mafehling.git@gmail.com>
Tue, 23 Jul 2024 10:36:38 +0000 (12:36 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Tue, 23 Jul 2024 10:36:38 +0000 (12:36 +0200)
tests/examples/example_test.h

index 0eaf1a5681ff97b0fd346fcdd5c56ae4badf6750..d7db1d5a1261c65835dd368e1435a60c312b7c80 100644 (file)
@@ -58,7 +58,7 @@ cat_file(const char *filename)
       {                                                                   \
         SolverType_COMMAND;                                               \
       }                                                                   \
-    catch (SolverControl::NoConvergence & exc)                            \
+    catch (SolverControl::NoConvergence &)                                \
       {}                                                                  \
     const unsigned int steps = CONTROL_COMMAND;                           \
     if (steps >= MIN_ALLOWED && steps <= MAX_ALLOWED)                     \

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.