]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor clean-up.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 20:06:27 +0000 (20:06 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 20:06:27 +0000 (20:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@11007 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/exceptions.cc

index 0d8540c2cee44156d0ac83bfccb2d1dc9ac31acc..17cc28d13d17a8d86da8e2aa732151f0ee08bce5 100644 (file)
@@ -85,10 +85,10 @@ void ExceptionBase::print_stack_trace (std::ostream &out) const
    out << "Stacktrace:" << std::endl;
 
    void * array[25];
-   int nSize = backtrace(array, 25);
-   char ** symbols = backtrace_symbols(array, nSize);
+   const int n_frames = backtrace(array, 25);
+   char ** symbols = backtrace_symbols(array, n_frames);
 
-   for (int i = 0; i < nSize; i++)
+   for (int i = 0; i < n_frames; i++)
       out << symbols[i] << std::endl;
 
    free(symbols);

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.