From cb479ad47a8bef87624e780147c8f21275f5399b Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 30 Jun 2005 20:06:27 +0000 Subject: [PATCH] Minor clean-up. git-svn-id: https://svn.dealii.org/trunk@11007 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/exceptions.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/base/source/exceptions.cc b/deal.II/base/source/exceptions.cc index 0d8540c2ce..17cc28d13d 100644 --- a/deal.II/base/source/exceptions.cc +++ b/deal.II/base/source/exceptions.cc @@ -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); -- 2.39.5