From 0d3f1ce4e90900e0aa697975a59a0c68364fef70 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Fri, 18 Jul 2008 18:40:53 +0000 Subject: [PATCH] libstdc++.exp (check_v3_target_c_std): Avoid unused variable warnings leading to spurious fails of the test. 2008-07-18 Paolo Carlini * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused variable warnings leading to spurious fails of the test. From-SVN: r137961 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/lib/libstdc++.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 03bd7b87ba7..377bef99f90 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2008-07-18 Paolo Carlini + + * testsuite/lib/libstdc++.exp (check_v3_target_c_std): Avoid unused + variable warnings leading to spurious fails of the test. + 2008-07-16 Paolo Carlini * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index d8c168defac..29258c35b4c 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -687,7 +687,7 @@ proc check_v3_target_c_std { } { puts $f " int i = std::tr1::isnan(f);" puts $f " " puts $f " using std::wctomb;" - puts $f " return 0;" + puts $f " return i;" puts $f "}" close $f -- 2.30.2