X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=check%2Ftimer.cpp;h=98a2fe455e90dec0511b9c6ecc69436ede83f5f1;hb=6cac49558b75dce07f607e26ba74aa9148f92720;hp=02b925548a7d4a0e726460dac853681da6aea4bc;hpb=286b0d93528e35957a50c51343e0b4a9bc623bce;p=ginac.git diff --git a/check/timer.cpp b/check/timer.cpp index 02b92554..98a2fe45 100644 --- a/check/timer.cpp +++ b/check/timer.cpp @@ -3,7 +3,7 @@ * A simple stop watch class. */ /* - * GiNaC Copyright (C) 1999-2011 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);