summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-24 02:25:02 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-24 02:25:02 +0000
commita879d80b2b511d7a2f61e445c84ce8ac7a4d01fa (patch)
tree152c78102d8bc2325b90be51b3a0c9e631b5473e /tools
parentdb772a8e76913e6a54dcf6704f7d6264a376bb51 (diff)
downloadmpfr-a879d80b2b511d7a2f61e445c84ce8ac7a4d01fa.tar.gz
[tools/mbench/mfv5-libc.cc] Fix warning when compiling with recent GCC
due to unused but set variable (patch by Patrick PĂ©lissier). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8884 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
-rw-r--r--tools/mbench/mfv5-libc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mbench/mfv5-libc.cc b/tools/mbench/mfv5-libc.cc
index 29356de7e..469e72221 100644
--- a/tools/mbench/mfv5-libc.cc
+++ b/tools/mbench/mfv5-libc.cc
@@ -186,6 +186,7 @@ bool libc_test<T>::test (const vector<string> &base, const option_test &opt) {
b = table[i];
TIMP_OVERHEAD ();
m = TIMP_MEASURE(a = f.func (b) );
+ b = a;
cont = tim->update (i, m) || cont;
}