Commit 532722be by Magnus Fromreide Committed by Loren J. Rittle

* testsuite/testsuite_hooks.h: Fix warning nits.

From-SVN: r64678
parent 5c1c25f0
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):
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment