* testsuite/testsuite_hooks.h: Fix warning nits.

From-SVN: r64678
This commit is contained in:
Magnus Fromreide 2003-03-21 21:32:45 +01:00 committed by Loren J. Rittle
parent 5c1c25f0db
commit 532722bed3
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
* testsuite/testsuite_hooks.h: Fix warning nits.
2003-03-19 Alexandre Oliva <aoliva@redhat.com>
* config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):

View File

@ -247,7 +247,6 @@ namespace __gnu_cxx_test
copy_tracker(const copy_tracker& rhs)
: id_(rhs.id()), throw_on_copy_(rhs.throw_on_copy_)
{
int kkk = throw_on_copy_;
if (throw_on_copy_)
copy_constructor::throw_on(copy_constructor::count() + 1);
copy_constructor::mark_call();
@ -264,6 +263,7 @@ namespace __gnu_cxx_test
if (rhs.throw_on_copy_)
assignment_operator::throw_on(assignment_operator::count() + 1);
assignment_operator::mark_call();
return *this;
}
~copy_tracker()
@ -302,7 +302,7 @@ namespace __gnu_cxx_test
inline bool
operator==(const copy_tracker& lhs, const copy_tracker& rhs)
{ return lhs.id() == rhs.id(); }
}; // namespace __gnu_cxx_test
} // namespace __gnu_cxx_test
namespace std
{