mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 18:20:51 +08:00
* testsuite/testsuite_hooks.h: Fix warning nits.
From-SVN: r64678
This commit is contained in:
parent
5c1c25f0db
commit
532722bed3
@ -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):
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user