X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Ftimer.cpp;h=98a2fe455e90dec0511b9c6ecc69436ede83f5f1;hp=d375313f82df49e91eb1e14bdbe7e816c9f4cadc;hb=acae7ab5a4dc94d1f54ba794f32f5764cdb4d704;hpb=95ede03f00106be5fb087d76c86ca5c27edb9122 diff --git a/check/timer.cpp b/check/timer.cpp index d375313f..98a2fe45 100644 --- a/check/timer.cpp +++ b/check/timer.cpp @@ -3,7 +3,7 @@ * A simple stop watch class. */ /* - * GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -82,7 +82,6 @@ void timer::reset() double timer::read() { - double elapsed; #ifdef HAVE_RUSAGE if (running()) getrusage(RUSAGE_SELF, &used2);