]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Ignore unused variables.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 Oct 2008 17:49:59 +0000 (17:49 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 Oct 2008 17:49:59 +0000 (17:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@17434 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/utilities.cc

index 129f8ebcf91384bbe82e01b0ef3c2ca8bd8d402d..339365f5e4923cde074d525a5777e09010972519 100644 (file)
@@ -521,6 +521,11 @@ namespace Utilities
       mpi_err = MPI_Init (&argc, &argv);
       AssertThrow (mpi_err == 0,
                   ExcMessage ("MPI could not be initialized."));
+#else
+                                      // make sure the compiler doesn't warn
+                                      // about these variables
+      (void)argc;
+      (void)argv;
 #endif
 
       constructor_has_already_run = true;

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.